| •1 |
#!/usr/bin/bashscip-shell filesystem . . `/usr/bin/bash`. |
| 2 |
|
| 3 |
. ../template/path-init.shscip-shell source . . `../template/path-init.sh`. |
| 4 |
|
| 5 |
rmscip-shell system . . rm. -rf _test |
| 6 |
mkdirscip-shell system . . mkdir. _test |
| 7 |
findscip-shell system . . find. . -maxdepth 1 -not -name . -not -name _test -exec cp -r '{}' -t _test ';' |
| 8 |
cd _test |
| 9 |
|
| 10 |
# -vos/-vok not compatible with async proofs |
| 11 |
export COQEXTRAFLAGS="$COQEXTRAFLAGS -async-proofs off" |
| 12 |
|
| 13 |
# Test building all vos, then all vok |
| 14 |
rocq makefile -f _CoqProject -o Makefile |
| 15 |
makescip-shell system . . make. vos |
| 16 |
makescip-shell system . . make. vok |
| 17 |
|
| 18 |
# Cleanup |
| 19 |
makescip-shell system . . make. clean |
| 20 |
|
| 21 |
# Test using compilation in custom order |
| 22 |
set -x #echo on |
| 23 |
rocq c A.v |
| 24 |
rocq c -vos B.v |
| 25 |
rocq c -vos C.v |
| 26 |
rocq c -vok B.v |
| 27 |
rocq c -vok C.v |