aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile.devel
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>2010-08-27 19:34:05 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>2010-08-27 19:34:05 +0000
commit44e5216ecc5acdc630efc2807bd230fec666f741 (patch)
tree49631484782197c3e7ef25aef734ad261e1de517 /Makefile.devel
parentc14f7e526e18efd0b5708090b030b7ddc7eb4544 (diff)
Target to run an instance
Diffstat (limited to 'Makefile.devel')
-rw-r--r--Makefile.devel3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.devel b/Makefile.devel
index 9d9ffbff..20a35526 100644
--- a/Makefile.devel
+++ b/Makefile.devel
@@ -209,6 +209,9 @@ tags: $(EL) $(TAGS_EXTRAS)
#
# Run tests for a particular prover and particular Emacs
#
+run.%:
+ $(EMACS) $(EMACSFLAGS) -l generic/proof-site.el -eval '(proof-visit-example-file "$*")'
+
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 cat $*/.autotest.log; echo "Autotests for $* ran with failures on `date`"; exit 1; fi; fi