diff options
author | David Aspinall <da@inf.ed.ac.uk> | 2010-08-03 21:38:44 +0000 |
---|---|---|
committer | David Aspinall <da@inf.ed.ac.uk> | 2010-08-03 21:38:44 +0000 |
commit | bc23de7cc214a8c13625a3fd599cca3cca5560b9 (patch) | |
tree | 626da849acb5c62af67c05e0cb0cd6d04b182bc4 /Makefile.devel | |
parent | 626c87d9fad1f468a6009ba492c52af7e5d7afa9 (diff) |
Show test log in case of failure
Diffstat (limited to 'Makefile.devel')
-rw-r--r-- | Makefile.devel | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.devel b/Makefile.devel index d386ff2a..dca47219 100644 --- a/Makefile.devel +++ b/Makefile.devel @@ -211,7 +211,7 @@ tags: $(EL) $(TAGS_EXTRAS) # Run tests for a particular prover and particular Emacs # test.%: - if [ -f "$*/$*-autotest.el" ]; then if $(EMACS) $(EMACSFLAGS) -l generic/proof-site.el $*/$*-autotest.el -f eval-current-buffer; then echo "Autotests for $* run successfully on `date`"; else echo "Autotests for $* ran with failures (see $*/.autotest.log) on `date`"; exit 1; fi; fi + if [ -f "$*/$*-autotest.el" ]; then if $(EMACS) $(EMACSFLAGS) -l generic/proof-site.el $*/$*-autotest.el -f eval-current-buffer; then echo "Autotests for $* run successfully on `date`"; else cat $*/.autotest.log; echo "Autotests for $* ran with failures on `date`"; exit 1; fi; fi testall.%: for prover in ${PROVERS}; do $(MAKE) test.$$prover EMACS=$*; done |