# HG changeset patch # User Thanukrishnamurthy Madhusudhanan # Date 1416853892 28800 # Node ID c1f6045a0cb0e4c67ea583fd4f5aadfc6811206a # Parent f064d3d3190d1a2fc5747717742d9a7f8e25fe63 20047300 python/pycountry should enable its tests diff -r f064d3d3190d -r c1f6045a0cb0 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)