diff options
author | Maxime Dénès <mail@maximedenes.fr> | 2018-02-15 10:24:32 +0100 |
---|---|---|
committer | Maxime Dénès <mail@maximedenes.fr> | 2018-02-15 10:24:32 +0100 |
commit | a87fc2f9c400919cf37e4e74eb79ce65739eaa9c (patch) | |
tree | dc2fd442fcdafc3a34fc95f3d26a613f1e48d3aa /test-suite/coq-makefile | |
parent | fd5372f0249a2ea949606ca35cf195bc37ad8a96 (diff) | |
parent | 00dfe2be53ddc84836e095f0a20a0efdebc87f50 (diff) |
Merge PR #6741: coq_makefile: Support "" as the prefix in _CoqProject
Diffstat (limited to 'test-suite/coq-makefile')
-rw-r--r-- | test-suite/coq-makefile/emptyprefix/_CoqProject | 11 | ||||
-rw-r--r-- | test-suite/coq-makefile/emptyprefix/_CoqProject.sub | 3 | ||||
-rwxr-xr-x | test-suite/coq-makefile/emptyprefix/run.sh | 17 |
3 files changed, 31 insertions, 0 deletions
diff --git a/test-suite/coq-makefile/emptyprefix/_CoqProject b/test-suite/coq-makefile/emptyprefix/_CoqProject new file mode 100644 index 000000000..5678a8edb --- /dev/null +++ b/test-suite/coq-makefile/emptyprefix/_CoqProject @@ -0,0 +1,11 @@ +-R theories "" +-R src "" +-I src +-arg "-w default" + +src/test_plugin.mlpack +src/test.ml4 +src/test.mli +src/test_aux.ml +src/test_aux.mli +theories/test.v diff --git a/test-suite/coq-makefile/emptyprefix/_CoqProject.sub b/test-suite/coq-makefile/emptyprefix/_CoqProject.sub new file mode 100644 index 000000000..90ac541e0 --- /dev/null +++ b/test-suite/coq-makefile/emptyprefix/_CoqProject.sub @@ -0,0 +1,3 @@ +-R ../theories "" +-I ../src +testsub.v diff --git a/test-suite/coq-makefile/emptyprefix/run.sh b/test-suite/coq-makefile/emptyprefix/run.sh new file mode 100755 index 000000000..a10e63b42 --- /dev/null +++ b/test-suite/coq-makefile/emptyprefix/run.sh @@ -0,0 +1,17 @@ +#!/usr/bin/env bash + +set -e + +. ../template/init.sh + +mv theories/sub theories2 + +coq_makefile -f _CoqProject -o Makefile +cat Makefile.conf +make + +cp ../_CoqProject.sub theories2/_CoqProject +cd theories2 +coq_makefile -f _CoqProject -o Makefile +cat Makefile.conf +make |