20047300 python/pycountry should enable its tests
authorThanukrishnamurthy Madhusudhanan<thanukrishnamurthy.madhusudha@oracle.com>
Mon, 24 Nov 2014 10:31:32 -0800
changeset 2226 c1f6045a0cb0
parent 2225 f064d3d3190d
child 3479 500016772c76
20047300 python/pycountry should enable its tests
components/python/pycountry/Makefile
--- 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)