From aade2c8a764cfb9c82389e8275c2013bcdb0e6c7 Mon Sep 17 00:00:00 2001 From: David Aspinall Date: Tue, 18 Jan 2011 18:06:50 +0000 Subject: Add multiple file test case --- coq/coq-autotest.el | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'coq/coq-autotest.el') diff --git a/coq/coq-autotest.el b/coq/coq-autotest.el index 9efdea22..fdfa5f1d 100644 --- a/coq/coq-autotest.el +++ b/coq/coq-autotest.el @@ -65,6 +65,18 @@ (pg-autotest quit-prover) + (pg-autotest remark "Testing multiple-file recompilation...") + (pg-autotest script-wholefile "coq/ex/test-cases/multiple-files-single-dir/f.v") + (proof-shell-wait) + ;; touch d.v to cause recompile (TODO: check for that) + (find-file "d.v") + (set-buffer-modified-p t) + (save-buffer) + (pg-autotest-test-retract-file "coq/ex/test-cases/multiple-files-single-dir/f.v") + (proof-shell-wait) + (pg-autotest script-wholefile "coq/ex/test-cases/multiple-files-single-dir/f.v") + + (pg-autotest quit-prover) (pg-autotest remark "Complete.") (pg-autotest timetaken 'total) -- cgit v1.2.3