aboutsummaryrefslogtreecommitdiffhomepage
path: root/test-suite/coq-makefile/plugin2/run.sh
blob: c2d47166fee9f6a19406c727f0a87897605e86c6 (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
#!/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.cmx
./test/test_aux.cmi
./test/test_aux.cmx
./test/test_plugin.cmxa
./test/test_plugin.cmxs
./test/test.v
./test/test.vo
EOT
exec diff -u desired actual