From 352c23666babc7dd8f0136b02d9ef1893f9bde5c Mon Sep 17 00:00:00 2001 From: Enrico Tassi Date: Mon, 23 Jan 2017 17:32:58 +0100 Subject: test suite for coq_makefile2 --- test-suite/coq-makefile/plugin2/_CoqProject | 10 ++++++++++ test-suite/coq-makefile/plugin2/run.sh | 31 +++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 test-suite/coq-makefile/plugin2/_CoqProject create mode 100755 test-suite/coq-makefile/plugin2/run.sh (limited to 'test-suite/coq-makefile/plugin2') diff --git a/test-suite/coq-makefile/plugin2/_CoqProject b/test-suite/coq-makefile/plugin2/_CoqProject new file mode 100644 index 0000000000..0bf1e07f25 --- /dev/null +++ b/test-suite/coq-makefile/plugin2/_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/plugin2/run.sh b/test-suite/coq-makefile/plugin2/run.sh new file mode 100755 index 0000000000..684e0ece82 --- /dev/null +++ b/test-suite/coq-makefile/plugin2/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 <