diff options
Diffstat (limited to 'test-suite/coq-makefile/compat-subdirs')
-rw-r--r-- | test-suite/coq-makefile/compat-subdirs/_CoqProject | 11 | ||||
-rwxr-xr-x | test-suite/coq-makefile/compat-subdirs/run.sh | 8 | ||||
-rw-r--r-- | test-suite/coq-makefile/compat-subdirs/subdir/Makefile | 3 |
3 files changed, 22 insertions, 0 deletions
diff --git a/test-suite/coq-makefile/compat-subdirs/_CoqProject b/test-suite/coq-makefile/compat-subdirs/_CoqProject new file mode 100644 index 00000000..4f44bde2 --- /dev/null +++ b/test-suite/coq-makefile/compat-subdirs/_CoqProject @@ -0,0 +1,11 @@ +-R src test +-R theories test +-I src + +src/test_plugin.mlpack +src/test.ml4 +src/test.mli +src/test_aux.ml +src/test_aux.mli +theories/test.v +subdir/ diff --git a/test-suite/coq-makefile/compat-subdirs/run.sh b/test-suite/coq-makefile/compat-subdirs/run.sh new file mode 100755 index 00000000..221dcd7b --- /dev/null +++ b/test-suite/coq-makefile/compat-subdirs/run.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +. ../template/init.sh + +coq_makefile -f _CoqProject -o Makefile +cat Makefile.conf +make +exec test -f "subdir/done" diff --git a/test-suite/coq-makefile/compat-subdirs/subdir/Makefile b/test-suite/coq-makefile/compat-subdirs/subdir/Makefile new file mode 100644 index 00000000..846c9b79 --- /dev/null +++ b/test-suite/coq-makefile/compat-subdirs/subdir/Makefile @@ -0,0 +1,3 @@ +all: + test -f ../theories/test.vo + touch done |