20495821 [REDUX] NOSE should have some master test results to compare against
authorRich Burridge <rich.burridge@oracle.com>
Mon, 09 Feb 2015 16:14:43 -0800
changeset 3752 a1cd93fa2e49
parent 3750 60902b5c3237
child 3753 184414ddc0f0
20495821 [REDUX] NOSE should have some master test results to compare against
components/python/nose/Makefile
components/python/nose/test/results-2.6-32.master
components/python/nose/test/results-2.7-32.master
components/python/nose/test/results-3.4-32.master
--- 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)
--- /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)
--- /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)
--- /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)