diff options
| author | Maxime Dénès | 2017-05-25 11:23:22 +0200 |
|---|---|---|
| committer | Maxime Dénès | 2017-05-25 11:23:22 +0200 |
| commit | 03e4f9c3da333d13553b4ea3247b0c36c124995e (patch) | |
| tree | 988405deded586d7db5bc3d2f6b6bb38c8803942 /test-suite/coq-makefile/plugin3 | |
| parent | f2fec63025d933f56dabf114a51720b1aae626c1 (diff) | |
| parent | 94311c3a8f5ddcf16dce313d3ddf5d7433d57e42 (diff) | |
Merge PR#406: coq makefile2
Diffstat (limited to 'test-suite/coq-makefile/plugin3')
| -rw-r--r-- | test-suite/coq-makefile/plugin3/_CoqProject | 10 | ||||
| -rwxr-xr-x | test-suite/coq-makefile/plugin3/run.sh | 31 |
2 files changed, 41 insertions, 0 deletions
diff --git a/test-suite/coq-makefile/plugin3/_CoqProject b/test-suite/coq-makefile/plugin3/_CoqProject new file mode 100644 index 0000000000..2028d49a8b --- /dev/null +++ b/test-suite/coq-makefile/plugin3/_CoqProject @@ -0,0 +1,10 @@ +-R theories/ test +-R src/ test +-I src/ + +./src/test_plugin.mllib +./src/test.ml4 +./src/test.mli +./src/test_aux.ml +./src/test_aux.mli +./theories/test.v diff --git a/test-suite/coq-makefile/plugin3/run.sh b/test-suite/coq-makefile/plugin3/run.sh new file mode 100755 index 0000000000..684e0ece82 --- /dev/null +++ b/test-suite/coq-makefile/plugin3/run.sh @@ -0,0 +1,31 @@ +#!/bin/sh + +#set -x +set -e + +. ../template/init.sh + +mv src/test_plugin.mlpack src/test_plugin.mllib +coq_makefile -f _CoqProject -o Makefile +make +make html mlihtml +make install DSTROOT="$PWD/tmp" +#make debug +(cd `find tmp -name user-contrib`; find) | sort > actual +sort > desired <<EOT +. +./test +./test/test.glob +./test/test.cmi +./test/test.cmo +./test/test.cmx +./test/test_aux.cmi +./test/test_aux.cmo +./test/test_aux.cmx +./test/test_plugin.cma +./test/test_plugin.cmxa +./test/test_plugin.cmxs +./test/test.v +./test/test.vo +EOT +exec diff -u desired actual |
