make-rules/makemaker.mk
changeset 2022 d590db614c66
parent 2000 a55999d4dec9
child 2106 adb848b3a7d4
--- a/make-rules/makemaker.mk	Mon Aug 04 15:38:32 2014 -0700
+++ b/make-rules/makemaker.mk	Mon Aug 04 15:41:55 2014 -0700
@@ -99,7 +99,7 @@
 COMPONENT_TEST_ENV +=	$(COMMON_PERL_ENV)
 $(BUILD_DIR)/%/.tested:	$(BUILD_DIR)/%/.built
 	$(COMPONENT_PRE_TEST_ACTION)
-	(cd $(@D) ; $(ENV) $(COMPONENT_TEST_ENV) $(GMAKE) \
+	(cd $(COMPONENT_TEST_DIR) ; $(ENV) $(COMPONENT_TEST_ENV) $(GMAKE) \
 			$(COMPONENT_TEST_ARGS) $(COMPONENT_TEST_TARGETS))
 	$(COMPONENT_POST_TEST_ACTION)
 	$(TOUCH) [email protected]