aboutsummaryrefslogtreecommitdiffhomepage
path: root/test-suite/coq-makefile/plugin1/run.sh
blob: 24ef8c891b650b0812e6a8bf4ea1f2db9aa8e47f (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
31
#!/usr/bin/env bash

#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