aboutsummaryrefslogtreecommitdiffhomepage
path: root/test-suite/coq-makefile/mllib1/run.sh
blob: 8f6b8e7ea5129c4b378d658372c9684a4424856e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/sh

#set -x
set -e

export PATH=../../../bin/:$PATH
git clean -dfx .
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