diff options
| author | dickmao <rchiang@cs.stonybrook.edu> | 2018-08-28 21:48:31 -0400 |
|---|---|---|
| committer | dickmao <dick.r.chiang@gmail.com> | 2018-08-30 00:14:42 -0400 |
| commit | 800dd7677276f9e425c5db37b3e31e56ab1dad32 (patch) | |
| tree | 09eb145ffcbaf89d873c89e8346ee8d38a88ebbe /Makefile.am | |
| parent | 5bd1e7248bb9bf3b335cbd6bec250866bd165af1 (diff) | |
Add tests for castling legality and ics response handling.
Fixes misinterpretation of "e1-b1" as a valid queenside castle, and
makes more sense of ics basic response handling #21.
`make test` should run the historic.pgn test and the new ecukes tests.
Diffstat (limited to 'Makefile.am')
| -rw-r--r-- | Makefile.am | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 9153f9f..7ce0e93 100644 --- a/Makefile.am +++ b/Makefile.am @@ -108,6 +108,11 @@ chess-test: echo "$(EMACS) -batch -L $(srcdir) -l chess-test.el -f chess-test '$(DATABASE)' $(START) $(COUNT); rm -f $(top_builddir)/chess-test" > $@ chmod u+x $@ +.PHONY: test +test: $(TESTS) $(ELCFILES) + $(top_builddir)/chess-test + cask exec ecukes + test/twic.pgn: (set -e; f=$$(pwd)/$@; tmp_dir=`mktemp -d`; \ cd $$tmp_dir; \ |
