--- a/components/python/pybonjour/Makefile Fri May 09 15:56:52 2014 -0700
+++ b/components/python/pybonjour/Makefile Fri May 09 20:59:20 2014 -0700
@@ -18,12 +18,13 @@
#
# CDDL HEADER END
#
-# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
+
#
+# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+#
+
include ../../../make-rules/shared-macros.mk
-PATH=/usr/bin:/usr/gnu/bin:/usr/sbin
-
COMPONENT_NAME= pybonjour
COMPONENT_VERSION= 1.1.1
COMPONENT_PROJECT_URL= http://code.google.com/p/pybonjour/
@@ -40,12 +41,16 @@
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
+COMPONENT_TEST_DIR = $(COMPONENT_SRC)
+COMPONENT_TEST_ARGS = test_pybonjour.py
+
# common targets
build: $(BUILD_NO_ARCH)
install: $(INSTALL_NO_ARCH)
-test: $(NO_TESTS)
+# svc:/network/dns/multicast:default needs to be online for tests to run
+test: $(TEST_NO_ARCH)
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)