components/python/pyopenssl/Makefile
changeset 5008 7a4cf1e8bc15
parent 4339 6501cf9c29f9
child 6399 6205769a2639
--- 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)