aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorEnrico Tassi2019-04-20 18:41:05 +0200
committerEnrico Tassi2019-04-20 18:41:05 +0200
commitfebcc72ee21d5c874c53a7befd658a93adf103a8 (patch)
tree30bfc38b43c16b03d944a6da6be1705f7a5ad421 /test-suite
parent11dd3aeedd5662ea67c89bacb02cce5b562a9532 (diff)
parentf8690d31f74f18ac1dd03d0b0922d2908b9c6807 (diff)
Merge PR #9906: coq_makefile install target: error if any file is missing
Reviewed-by: gares
Diffstat (limited to 'test-suite')
-rwxr-xr-xtest-suite/coq-makefile/missing-install/run.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/test-suite/coq-makefile/missing-install/run.sh b/test-suite/coq-makefile/missing-install/run.sh
new file mode 100755
index 0000000000..4f36fdcb1c
--- /dev/null
+++ b/test-suite/coq-makefile/missing-install/run.sh
@@ -0,0 +1,17 @@
+#!/usr/bin/env bash
+
+. ../template/init.sh
+
+rm -rf _test; mkdir _test; cd _test
+
+cat > _CoqProject <<EOF
+-R theories Test
+theories/a.v
+theories/b.v
+EOF
+mkdir theories
+touch theories/a.v theories/b.v
+
+coq_makefile -f _CoqProject -o Makefile
+make theories/b.vo
+if make install; then exit 1; fi