Debian Codegraph @

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

raw symbols ◀ ▶ SCIP
1 Debian patch touch this file
•1 #!/usr/bin/bashscip-shell filesystem . . `/usr/bin/bash`.
2
3 . ../template/init.shscip-shell source . . `../template/init.sh`.
4
5 mvscip-shell system . . mv. src/test_plugin.mlpack src/test_plugin.mllib
6 rocq makefile -f _CoqProject -o Makefile
7 catscip-shell system . . cat. Makefile.conf
8 makescip-shell system . . make.
9 makescip-shell system . . make. html mlihtml
10 makescip-shell system . . make. install DSTROOT="$PWD/tmp"
11 #make debug
12 (cd "$(findscip-shell system . . find. tmp -name user-contrib)" && findscip-shell system . . find. .) | sortscip-shell system . . sort. > actual
13 sortscip-shell system . . 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 | grepscip-shell system . . grep. -q "NATIVE_COMPILER_DEFAULT=yes") || sedscip-shell system . . sed. -i.bak '/\.coq-native/dscip-shell filesystem . . `/\.coq-native/d`.' desired
25 diffscip-shell system . . diff. -u desired actual
26
27 (cd "$(findscip-shell system . . find. tmp -name coq-test-suite)" && findscip-shell system . . find. .) | sortscip-shell system . . sort. > actual
28 sortscip-shell system . . 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 diffscip-shell system . . diff. -u desired actual