# HG changeset patch # User Rich Burridge # Date 1423527283 28800 # Node ID a1cd93fa2e497ecfdbffa985b67dcd0fb56733ad # Parent 60902b5c32379685c744cb0715c50e4264e37fd4 20495821 [REDUX] NOSE should have some master test results to compare against diff -r 60902b5c3237 -r a1cd93fa2e49 components/python/nose/Makefile --- a/components/python/nose/Makefile Fri Feb 06 21:18:26 2015 -0800 +++ b/components/python/nose/Makefile Mon Feb 09 16:14:43 2015 -0800 @@ -65,17 +65,25 @@ $(GSED) -e "s|'build', 'lib\*'|'..', 'build', 'prototype', '$(MACH)', 'usr', 'lib', 'python$(PYTHON_VERSION)', 'vendor-packages\*'|" \ $(SOURCE_DIR)/selftest.py.orig > $(SOURCE_DIR)/selftest.py -# common targets +# The test output can contain non-deterministic results because "chances are +# you will experience odd, intermittent and unexplainable failures and errors" +# when using the multiprocess plug. See: +# http://nose.readthedocs.org/en/latest/plugins/multiprocess.html +# CR #20470423 has been filed to investigate these failures. +# +# Because of this we use nawk to just extract lines starting with: +# ERROR: ... +# Ran 3XX tests in ... +# FAILED ... +# OK +# stripping out the random portions (like time to complete the tests). +COMPONENT_TEST_TRANSFORMER = $(NAWK) +COMPONENT_TEST_TRANSFORMS = "'/^ERROR: / { print }; /^Ran / { sub(\" tests in .+s\", \" tests in\"); print }; /^FAILED / { print }; /^OK / { print };'" + build: $(BUILD_NO_ARCH) install: $(INSTALL_NO_ARCH) -# Note that it is currently not feasible to add master test file(s) for this -# component because "chances are you will experience odd, intermittent and -# unexplainable failures and errors" when using the multiprocess plug. See: -# http://nose.readthedocs.org/en/latest/plugins/multiprocess.html -# CR #20470423 has been filed to investigate these failures. - test: $(TEST_NO_ARCH) BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS) diff -r 60902b5c3237 -r a1cd93fa2e49 components/python/nose/test/results-2.6-32.master --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/python/nose/test/results-2.6-32.master Mon Feb 09 16:14:43 2015 -0800 @@ -0,0 +1,3 @@ +ERROR: test_pickle_configured (test_config.TestNoseConfig) +Ran 390 tests in +FAILED (SKIP=1, errors=1) diff -r 60902b5c3237 -r a1cd93fa2e49 components/python/nose/test/results-2.7-32.master --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/python/nose/test/results-2.7-32.master Mon Feb 09 16:14:43 2015 -0800 @@ -0,0 +1,3 @@ +ERROR: test_pickle_configured (test_config.TestNoseConfig) +Ran 390 tests in +FAILED (SKIP=1, errors=1) diff -r 60902b5c3237 -r a1cd93fa2e49 components/python/nose/test/results-3.4-32.master --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/python/nose/test/results-3.4-32.master Mon Feb 09 16:14:43 2015 -0800 @@ -0,0 +1,2 @@ +Ran 384 tests in +OK (SKIP=15)