diff options
| author | John Wiegley <johnw@newartisans.com> | 2008-09-01 00:47:26 -0400 |
|---|---|---|
| committer | John Wiegley <johnw@newartisans.com> | 2008-09-01 00:47:26 -0400 |
| commit | 8ec9434a1a5e345077d6980e784d47f36483a224 (patch) | |
| tree | ce5db677e393546f27717e0009743d827234268d /Makefile.am | |
| parent | a2f1f41f720c5a78f4c76201da4e7fc9319d9bae (diff) | |
Allow the stress tests to be run across a specific range:
make START=2000 FINISH=5000 check
If START is omitted, it begins at game 1. If FINISH is omitted, it ends at
the last game in the test database.
Diffstat (limited to 'Makefile.am')
| -rw-r--r-- | Makefile.am | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am index b4cde68..5d0ce08 100644 --- a/Makefile.am +++ b/Makefile.am @@ -66,12 +66,13 @@ chess-eco.fen: chess-eco.pos chess-eco.el -L $(srcdir) -l chess-eco -f chess-generate-fen-table \ chess-eco.pos chess-eco.fen -TESTS = chess-test - -database = test/largedb +TESTS = chess-test +DATABASE = test/largedb +START = +FINISH = chess-test: Makefile - echo "$(EMACS) -batch -L $(srcdir) -l chess-test.el -f chess-test '$(database)'" > $@ + echo "$(EMACS) -batch -L $(srcdir) -l chess-test.el -f chess-test '$(DATABASE)' $(START) $(FINISH)" > $@ chmod u+x $@ TAGS: $(dist_lisp_LISP) |
