Debian Codegraph @

test-suite/coq-makefile/plugin1/run.sh

raw symbols ◀ ▶ SCIP
1 Debian patch touch this file
•1 #!/usr/bin/bash
2
3 . ../template/init.sh
4
5 mv src/test_plugin.mlpack src/test_plugin.mllib
6 rocq makefile -f _CoqProject -o Makefile
7 cat Makefile.conf
8 make
9 make html mlihtml
10 make install DSTROOT="$PWD/tmp"
11 #make debug
12 (cd "$(find tmp -name user-contrib)" && find .) | sort > actual
13 sort > desired <<EOT
14 .
15 ./test
16 ./test/.coq-native
17 ./test/.coq-native/Ntest_test.cmi
18 ./test/.coq-native/Ntest_test.cmx
19 ./test/.coq-native/Ntest_test.cmxs
20 ./test/test.glob
21 ./test/test.v
22 ./test/test.vo
23 EOT
24 (rocq -config | grep -q "NATIVE_COMPILER_DEFAULT=yes") || sed -i.bak '/\.coq-native/d' desired
25 diff -u desired actual
26
27 (cd "$(find tmp -name coq-test-suite)" && find .) | sort > actual
28 sort > desired <<EOT
29 .
30 ./META
31 ./test.cmi
32 ./test.cmx
33 ./test_aux.cmi
34 ./test_aux.cmx
35 ./test_plugin.cmxa
36 ./test_plugin.cmxs
37 EOT
38 diff -u desired actual