diff options
Diffstat (limited to 'test-suite/coq-makefile/mlpack2')
-rw-r--r-- | test-suite/coq-makefile/mlpack2/_CoqProject | 10 | ||||
-rwxr-xr-x | test-suite/coq-makefile/mlpack2/run.sh | 23 |
2 files changed, 33 insertions, 0 deletions
diff --git a/test-suite/coq-makefile/mlpack2/_CoqProject b/test-suite/coq-makefile/mlpack2/_CoqProject new file mode 100644 index 00000000..51864a87 --- /dev/null +++ b/test-suite/coq-makefile/mlpack2/_CoqProject @@ -0,0 +1,10 @@ +-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 diff --git a/test-suite/coq-makefile/mlpack2/run.sh b/test-suite/coq-makefile/mlpack2/run.sh new file mode 100755 index 00000000..03df9cf0 --- /dev/null +++ b/test-suite/coq-makefile/mlpack2/run.sh @@ -0,0 +1,23 @@ +#!/usr/bin/env bash + +. ../template/init.sh + +coq_makefile -f _CoqProject -o Makefile +cat Makefile.conf +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_plugin.cmi +./test/test_plugin.cmx +./test/test_plugin.cmxa +./test/test_plugin.cmxs +./test/test.v +./test/test.vo +EOT +exec diff -u desired actual |