From 5bbe70609f2ff2d084ab2c4db9a9d174da529eff Mon Sep 17 00:00:00 2001 From: Gareth Rees Date: Mon, 24 Mar 2014 21:26:42 +0000 Subject: [PATCH] Support for "make -f platform.gmk testrun". Copied from Perforce Change: 184990 ServerID: perforce.ravenbrook.com --- mps/code/comm.gmk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mps/code/comm.gmk b/mps/code/comm.gmk index 04830ec3431..7e68f45bfd9 100644 --- a/mps/code/comm.gmk +++ b/mps/code/comm.gmk @@ -269,7 +269,7 @@ TEST_TARGETS=\ UNBUILDABLE_TARGETS=\ replay # depends on the EPVM pool -ALL_TARGETS=$(LIB_TARGETS) $(TEST_TARGETS) $(EXTRA_TARGETS) +ALL_TARGETS=$(LIB_TARGETS) $(TEST_TARGETS) $(EXTRA_TARGETS) testrun # == Pseudo-targets == @@ -279,9 +279,10 @@ all: $(ALL_TARGETS) # Run the automated tests. -testrun: $(TEST_TARGETS) +$(PFM)/$(VARIETY)/testrun: $(TEST_TARGETS) ../tool/testrun.sh "$(PFM)/$(VARIETY)" + # These convenience targets allow one to type "make foo" to build target # foo in selected varieties (or none, for the latter rule).