diff options
author | David Aspinall <da@inf.ed.ac.uk> | 2012-02-08 17:41:57 +0000 |
---|---|---|
committer | David Aspinall <da@inf.ed.ac.uk> | 2012-02-08 17:41:57 +0000 |
commit | 39b2499da290056f4f26f419da8048f1732c5b7b (patch) | |
tree | ece93d11f732e6204ac5476bda4a2b2e995ac801 /hol-light | |
parent | d4d40c64add9a38061ca4958097e96cc2237f040 (diff) |
Add autotest
Diffstat (limited to 'hol-light')
-rw-r--r-- | hol-light/hol-light-autotest.el | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/hol-light/hol-light-autotest.el b/hol-light/hol-light-autotest.el new file mode 100644 index 00000000..20c16727 --- /dev/null +++ b/hol-light/hol-light-autotest.el @@ -0,0 +1,36 @@ +;; hol-light-autotest.el: tests of HOL Light Proof General. +;; +;; You can run these by issuing "make test.hol-light" in PG home dir. +;; +;; $Id$ +;; + +(eval-when-compile + (require 'cl)) + +(eval-when (compile) + (require 'proof-site) + (proof-ready-for-assistant 'coq) + (defvar coq-compile-before-require nil)) + +(require 'pg-autotest) + +(unless noninteractive + + (pg-autotest start 'debug) + (pg-autotest log ".autotest.log") ; convention + + (pg-autotest timestart 'total) + + (pg-autotest remark "Testing standard examples...") + + (pg-autotest script-wholefile "hol-light/example.ml") + + (proof-shell-wait) + + + (pg-autotest remark "Complete.") + + (pg-autotest timetaken 'total) + + (pg-autotest exit)) |