make-rules/shared-macros.mk
changeset 2022 d590db614c66
parent 2010 cb03afa45934
child 2032 916ced318d1e
--- a/make-rules/shared-macros.mk	Mon Aug 04 15:38:32 2014 -0700
+++ b/make-rules/shared-macros.mk	Mon Aug 04 15:41:55 2014 -0700
@@ -232,6 +232,9 @@
 # set the default target for test of the component
 COMPONENT_TEST_TARGETS =	check
 
+# set the default directory for test of the component
+COMPONENT_TEST_DIR =		$(@D)
+
 # BUILD_TOOLS is the root of all tools not normally installed on the system.
 BUILD_TOOLS ?=	/ws/on12-tools