aboutsummaryrefslogtreecommitdiff
path: root/test-suite/coq-makefile/missing-install/run.sh
blob: 4f36fdcb1c1807af4158cbf9ef878b54c8f79573 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/env bash

. ../template/init.sh

rm -rf _test; mkdir _test; cd _test

cat > _CoqProject <<EOF
-R theories Test
theories/a.v
theories/b.v
EOF
mkdir theories
touch theories/a.v theories/b.v

coq_makefile -f _CoqProject -o Makefile
make theories/b.vo
if make install; then exit 1; fi