components/python/pycountry/Makefile
changeset 2226 c1f6045a0cb0
parent 1948 2d1537e7942d
child 3817 30b42c38bbc4
--- a/components/python/pycountry/Makefile	Fri Nov 21 16:37:26 2014 -0800
+++ b/components/python/pycountry/Makefile	Mon Nov 24 10:31:32 2014 -0800
@@ -40,6 +40,10 @@
 
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
+COMPONENT_TEST_DIR =     $(COMPONENT_SRC)/src/pycountry/tests
+COMPONENT_TEST_ARGS =    test_general.py
+COMPONENT_TEST_CMD =     /usr/bin/nosetests
+
 # Regenerate the message object (mo) files for the patched 
 # iso3166 (country) and iso3166-2 (country subdivisions) translations.
 COMPONENT_PRE_BUILD_ACTION = \
@@ -57,8 +61,7 @@
 
 install:	$(INSTALL_NO_ARCH)
 
-#  Tests require the tox package
-test:		$(NO_TESTS)
+test:		$(TEST_NO_ARCH)
 
 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)