diff options
| author | Mario Lang <mlang@delysid.org> | 2014-04-18 01:45:42 +0200 |
|---|---|---|
| committer | Mario Lang <mlang@delysid.org> | 2014-04-18 01:45:42 +0200 |
| commit | fd3dffbc98cc69abaf26dc3eaa4cecaeb4e541c3 (patch) | |
| tree | e0694ce950ab1321beaad36fc2420968d3ba3b96 | |
| parent | f4fab47ee91e371dfdfce9ebf4c6bcd3a8497564 (diff) | |
Add the perft makefile target for easy running of the testsuite.
| -rw-r--r-- | Makefile.am | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 309c759..9153f9f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,6 @@ BUILT_SOURCES = chess-auto.el CLEANFILES = TAGS chess-auto.el auto-autoloads.el -EXTRA_DIST = autogen.sh chess-auto.el.in chess-eco.pos doc/chess.pdf +EXTRA_DIST = autogen.sh chess-auto.el.in chess-eco.pos chess-polyglot.bin doc/chess.pdf DISTCLEANFILES = chess-eco.fen doc/chess.info doc/chess.pdf $(TESTS) info_TEXINFOS = doc/chess.texi dist_lisp_DATA = _pkg.el chess-eco.fen @@ -41,6 +41,7 @@ dist_lisp_LISP = \ chess-module.el \ chess-network.el \ chess-none.el \ + chess-perft.el \ chess-pgn.el \ chess-phalanx.el \ chess-plain.el \ @@ -117,6 +118,9 @@ test/twic.pgn: check-twic: test/twic.pgn $(MAKE) DATABASE=$< START=0 COUNT=0 check +perft: + $(EMACS) -batch -L $(srcdir) -l chess-perft -f ert-run-tests-batch + TAGS: $(dist_lisp_LISP) @etags $(dist_lisp_LISP) @echo TAGS rebuilt. |
