components/python/pybonjour/Makefile
changeset 5457 8f76366ca895
parent 4339 6501cf9c29f9
child 7687 1093e2a9adbd
--- a/components/python/pybonjour/Makefile	Fri Feb 12 10:51:43 2016 -0800
+++ b/components/python/pybonjour/Makefile	Fri Feb 12 13:06:14 2016 -0800
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../../make-rules/shared-macros.mk
@@ -45,6 +45,11 @@
 
 COMPONENT_TEST_DIR =	$(COMPONENT_SRC)
 COMPONENT_TEST_ARGS =	test_pybonjour.py
+COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
+
+# Use nawk to extract just the sections that summarizes the test results.
+COMPONENT_TEST_TRANSFORMER = $(NAWK)
+COMPONENT_TEST_TRANSFORMS = "'/^Ran .+ / { sub(\" tests in .+s\", \" tests in\"); print }; /!NF/ { print }; /^OK/ { print };'"
 
 # common targets
 build:		$(BUILD_NO_ARCH)
@@ -52,6 +57,8 @@
 install:	$(INSTALL_NO_ARCH)
 
 # svc:/network/dns/multicast:default needs to be online for tests to run
+$(SKIP_TEST_AT_TOP_LEVEL)
+# test_enumerate_domains is skipped
 test:		$(TEST_NO_ARCH)
 
 system-test:    $(SYSTEM_TESTS_NOT_IMPLEMENTED)