From 8ec9434a1a5e345077d6980e784d47f36483a224 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 1 Sep 2008 00:47:26 -0400 Subject: 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. --- Makefile.am | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'Makefile.am') 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) -- cgit v1.2.3