Support for "make -f platform.gmk testrun".

Copied from Perforce
 Change: 184990
 ServerID: perforce.ravenbrook.com
This commit is contained in:
Gareth Rees 2014-03-24 21:26:42 +00:00
parent ff331d736e
commit 5bbe70609f

View file

@ -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).