diff options
| author | David Aspinall | 2005-02-13 21:36:23 +0000 |
|---|---|---|
| committer | David Aspinall | 2005-02-13 21:36:23 +0000 |
| commit | c43eebc79e84402f3978f1f32d812e755039e3ef (patch) | |
| tree | dca62bb1c01187ec41ed583d5aafd669508e95ff /isar | |
| parent | a5fef2b565a3849eb5c8238ec2f7b64587ba840e (diff) | |
Added simple testing framework (in progress)
Diffstat (limited to 'isar')
| -rw-r--r-- | isar/isar-autotest.el | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/isar/isar-autotest.el b/isar/isar-autotest.el new file mode 100644 index 00000000..5cd5b2b8 --- /dev/null +++ b/isar/isar-autotest.el @@ -0,0 +1,35 @@ +;; isar-autotest.el: tests of Isar Proof General. +;; +;; You can run these by issuing "make devel.test.isar" in PG home dir. +;; +;; $Id$ +;; + +(require 'pg-autotest) + +;; The included test files +(pg-autotest message "Testing standard Example.thy, Example-Xsym.thy") +(pg-autotest script-wholefile "isar/Example.thy") +(pg-autotest script-wholefile "isar/Example-Xsym.thy") + +; These require Complex theory +;(pg-autotest script-wholefile "isar/Root2_Isar.thy") +;(pg-autotest script-wholefile "isar/Root2_Tactic.thy") + +;; The standard simple multiple file examples + +(pg-autotest message "Simple test of multiple files...") +(pg-autotest script-wholefile "etc/isar/multiple/C.thy") +(pg-autotest assert-processed "etc/isar/multiple/C.thy") +(pg-autotest assert-processed "etc/isar/multiple/A.thy") +(pg-autotest assert-processed "etc/isar/multiple/B.thy") +(pg-autotest retract-file "etc/isar/multiple/B.thy") +(pg-autotest assert-unprocessed "etc/isar/multiple/B.thy") +(pg-autotest assert-unprocessed "etc/isar/multiple/C.thy") +(pg-autotest assert-processed "etc/isar/multiple/A.thy") + + +(pg-autotest-quit-prover) +(pg-autotest-finished) + + |
