aboutsummaryrefslogtreecommitdiffhomepage
path: root/test-suite/misc/deps-checksum.sh
diff options
context:
space:
mode:
authorGravatar Hugo Herbelin <Hugo.Herbelin@inria.fr>2017-05-09 21:48:43 +0200
committerGravatar Hugo Herbelin <Hugo.Herbelin@inria.fr>2017-05-10 09:54:41 +0200
commit98a927aefb6df05a957d94cf2fd22d88e9e6c6b6 (patch)
treef4e12f0c9aea784b19d13b5ad973e6bb1aa6b018 /test-suite/misc/deps-checksum.sh
parent63510329fae28f7a9d18935f24e3ebf0485dabc8 (diff)
Moving code for miscellaneous tests to specific files.
The rule is that any file misc/*.sh will now be automatically executed from the test-file directory with appropriate environment variables set. The test can use any auxiliary material which is put in a directory of the same name as the test. This avoids making the main Makefile more or more complex. We loose some customization though (no more custom messages such as printing of the number of universes in the test about the number of necessary universes). We could preserve such customization if needed but I did not consider it was worth the effort. Warning: specific targets universes, deps-order, deps-checksum are removed by consistency. Do instead "make misc/universes.log", etc., or even "make misc" for all.
Diffstat (limited to 'test-suite/misc/deps-checksum.sh')
-rwxr-xr-xtest-suite/misc/deps-checksum.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/test-suite/misc/deps-checksum.sh b/test-suite/misc/deps-checksum.sh
new file mode 100755
index 000000000..1e2afb754
--- /dev/null
+++ b/test-suite/misc/deps-checksum.sh
@@ -0,0 +1,5 @@
+rm -f misc/deps/*/*.vo
+$coqc -R misc/deps/A A misc/deps/A/A.v
+$coqc -R misc/deps/B A misc/deps/B/A.v
+$coqc -R misc/deps/B A misc/deps/B/B.v
+$coqtop -R misc/deps/B A -R misc/deps/A A -load-vernac-source misc/deps/checksum.v