aboutsummaryrefslogtreecommitdiffhomepage
path: root/isar/isar-autotest.el
diff options
context:
space:
mode:
authorGravatar Clément Pit--Claudel <clement.pitclaudel@live.com>2017-02-26 00:28:18 -0500
committerGravatar Clément Pit--Claudel <clement.pitclaudel@live.com>2017-03-08 15:06:17 -0500
commit70dfbc54d9a6b559dbfcfd6105a7e8c80d78d888 (patch)
treee68885d95d7281f758d41f5f8a8249a4ddb76509 /isar/isar-autotest.el
parent6c703907b192bc903ca9897e17424e58e2003692 (diff)
Fix incorrect assumption that noninteractive == byte-compiling
The PG Makefile does ensure (using --batch) that noninteractive is non-nil while compiling, but package.el doesn't.
Diffstat (limited to 'isar/isar-autotest.el')
-rw-r--r--isar/isar-autotest.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/isar/isar-autotest.el b/isar/isar-autotest.el
index 60fa2ebc..10ce61a1 100644
--- a/isar/isar-autotest.el
+++ b/isar/isar-autotest.el
@@ -20,7 +20,7 @@
(declare-function isar-tracing:auto-solve-direct-toggle "isar.el")
(declare-function isar-proof:parallel-proofs-toggle "isar.el")
-(unless noninteractive
+(unless (bound-and-true-p byte-compile-current-file)
(pg-autotest start) ; can add 'debug flag for debug-on-error
@@ -89,10 +89,10 @@
(pg-autotest script-randomjumps "isar/Example.thy" 8)
(when isar-long-tests
- (pg-autotest remark "Larger files...")
- (pg-autotest script-wholefile "etc/isar/AHundredTheorems.thy")
- (pg-autotest script-wholefile "isar/ex/Tarski.thy")
- (pg-autotest script-randomjumps "isar/ex/Tarski.thy" 10)) ; better test?
+ (pg-autotest remark "Larger files...")
+ (pg-autotest script-wholefile "etc/isar/AHundredTheorems.thy")
+ (pg-autotest script-wholefile "isar/ex/Tarski.thy")
+ (pg-autotest script-randomjumps "isar/ex/Tarski.thy" 10)) ; better test?
(pg-autotest remark "Testing restarting the prover")