summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
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; \