summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2018-08-29 22:49:20 -0700
committerGitHub <noreply@github.com>2018-08-29 22:49:20 -0700
commit67339d896aa65d75272b80134a8128276c8c6a0f (patch)
tree09eb145ffcbaf89d873c89e8346ee8d38a88ebbe /Makefile.am
parent29dd9bb233e149cae62a2277020074f8fec1eec8 (diff)
parent800dd7677276f9e425c5db37b3e31e56ab1dad32 (diff)
Merge pull request #23 from dickmao/fix-castling-legality
Add tests for castling legality and ics response handling.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am5
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; \