make-rules/justmake.mk
changeset 2164 b580bc10e31a
parent 2106 adb848b3a7d4
child 3558 2cec274f17fc
--- a/make-rules/justmake.mk	Tue Oct 21 02:05:30 2014 -0700
+++ b/make-rules/justmake.mk	Tue Oct 21 12:20:30 2014 -0700
@@ -71,7 +71,8 @@
 # test the built source
 $(BUILD_DIR)/%/.tested: $(BUILD_DIR)/%/.built
 	$(COMPONENT_PRE_TEST_ACTION)
-	(cd $(COMPONENT_TEST_DIR) ; $(ENV) $(COMPONENT_TEST_ENV) \
+	(cd $(COMPONENT_TEST_DIR) ; $(COMPONENT_TEST_ENV_CMD) \
+		$(COMPONENT_TEST_ENV) \
 		$(COMPONENT_TEST_CMD) \
 			$(COMPONENT_TEST_ARGS) $(COMPONENT_TEST_TARGETS))
 	$(COMPONENT_POST_TEST_ACTION)