20461038 PYOPENSSL should have some master test results to compare against
authorRich Burridge <rich.burridge@oracle.com>
Mon, 26 Oct 2015 15:46:55 -0700
changeset 5008 7a4cf1e8bc15
parent 5007 0052258cbb9d
child 5009 b24aab703667
20461038 PYOPENSSL should have some master test results to compare against
components/python/pyopenssl/Makefile
components/python/pyopenssl/test/results-all.master
--- a/components/python/pyopenssl/Makefile	Fri Oct 23 15:32:50 2015 -0700
+++ b/components/python/pyopenssl/Makefile	Mon Oct 26 15:46:55 2015 -0700
@@ -50,7 +50,13 @@
 COMPONENT_TEST_CMD = $(SHELL)
 COMPONENT_TEST_ARGS = $(COMPONENT_DIR)/files/runtests
 
-# common targets
+COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
+
+# Using nawk for easier test results processing and stripping out the
+# random portions (like time to complete the tests).
+COMPONENT_TEST_TRANSFORMER =    $(NAWK)
+COMPONENT_TEST_TRANSFORMS = "'/^Running / { print }; /^ERROR: / { print }; /^FAIL: / { print }; /^Ran / { sub(\" tests in .+s\", \" tests in\"); print }; /^FAILED / { print }; /^OK / { print };'"
+
 build:		$(BUILD_32_and_64)
 
 install:	$(INSTALL_32_and_64)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/python/pyopenssl/test/results-all.master	Mon Oct 26 15:46:55 2015 -0700
@@ -0,0 +1,10 @@
+Running test_crypto
+ERROR: test_extension_count (__main__.X509Tests)
+ERROR: test_get_extension (__main__.X509Tests)
+FAIL: test_der (__main__.X509NameTests)
+FAIL: test_digest (__main__.X509Tests)
+Ran 168 tests in
+FAILED (failures=2, errors=2)
+Running test_rand
+Ran 15 tests in
+Running test_ssl