Commit 96eedd07 authored by simonmar's avatar simonmar
Browse files

[project @ 2002-09-11 10:50:31 by simonmar]

Add makefile machinery so you can say

	$ make TEST=cg001 WAY=prof

to get a specific test in a specific way only.
parent f2600f8b
...@@ -53,13 +53,15 @@ RUNTEST_OPTS += \ ...@@ -53,13 +53,15 @@ RUNTEST_OPTS += \
TESTS = TESTS =
TEST = TEST =
WAY =
all :: test all :: test
test: test:
$(PYTHON) $(RUNTESTS) $(RUNTEST_OPTS) \ $(PYTHON) $(RUNTESTS) $(RUNTEST_OPTS) \
$(patsubst %, --only=%, $(TEST)) \ $(patsubst %, --only=%, $(TEST)) \
$(patsubst %, --only=%, $(TESTS)) $(patsubst %, --only=%, $(TESTS)) \
$(patsubst %, --way=%, $(WAY))
verbose: test verbose: test
...@@ -67,5 +69,6 @@ accept: ...@@ -67,5 +69,6 @@ accept:
$(PYTHON) $(RUNTESTS) $(RUNTEST_OPTS) \ $(PYTHON) $(RUNTESTS) $(RUNTEST_OPTS) \
$(patsubst %, --only=%, $(TEST)) \ $(patsubst %, --only=%, $(TEST)) \
$(patsubst %, --only=%, $(TESTS)) \ $(patsubst %, --only=%, $(TESTS)) \
$(patsubst %, --way=%, $(WAY)) \
-e config.accept=1 -e config.accept=1
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