Commit 13083e79 authored by simonmar's avatar simonmar
Browse files

[project @ 2001-08-27 10:40:17 by simonmar]

add $TEST as a synonym for $TESTS, so you can say 'make TEST=foo'
parent e0c453f6
......@@ -7,7 +7,8 @@
#
# The following variables may be set on the make command line:
#
# TESTS -- specific tests to run
# TEST -- specific test to run
# TESTS -- specific tests to run (same as $TEST really)
# EXTRA_HC_OPTS -- extra flags to send to the Haskell compiler
# EXTRA_RUNTEST_OPTS -- extra flags to give the test driver
# CONFIG -- use a different configuration file
......@@ -20,16 +21,18 @@ GHC_INPLACE_ABS = $(FPTOOLS_TOP_ABS)/ghc/compiler/ghc-inplace
RUNTESTS = $(TOP)/driver/runtests
RUNTEST_OPTS = --config=$(CONFIG) tool=$(GHC_INPLACE_ABS) extra_hc_flags="$(EXTRA_HC_OPTS)" $(EXTRA_RUNTEST_OPTS)
CONFIG = $(TOP)/config/msrc/cam-02-unx.T
TESTS =
TEST =
all :: test
test:
$(RUNTESTS) $(RUNTEST_OPTS) $(TESTS)
$(RUNTESTS) $(RUNTEST_OPTS) $(TEST) $(TESTS)
verbose:
$(RUNTESTS) $(RUNTEST_OPTS) verbose= $(TESTS)
$(RUNTESTS) $(RUNTEST_OPTS) verbose= $(TEST) $(TESTS)
accept:
$(RUNTESTS) $(RUNTEST_OPTS) accept= verbose= $(TESTS)
$(RUNTESTS) $(RUNTEST_OPTS) accept= verbose= $(TEST) $(TESTS)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment