diff options
| author | Brian Campbell | 2020-06-14 22:27:30 +0100 |
|---|---|---|
| committer | Brian Campbell | 2020-06-14 23:18:34 +0100 |
| commit | e22bb9841a5186d0b52b8fa9ad8cf2e46fa51d76 (patch) | |
| tree | 6741f4b4b56d2623623635b512dd0ee6f0bb993e /test | |
| parent | b6fb5a567c1d3d0bbe1f30e875d2cdcaba9514ad (diff) | |
Coq: tidy up scope in library
Helps with Coq 8.11. Also fix BBVDIR default in test script.
Diffstat (limited to 'test')
| -rwxr-xr-x | test/coq/run_tests.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/coq/run_tests.sh b/test/coq/run_tests.sh index c31b1475..2d1a1318 100755 --- a/test/coq/run_tests.sh +++ b/test/coq/run_tests.sh @@ -6,10 +6,12 @@ SAILDIR="$DIR/../.." TYPECHECKTESTSDIR="$DIR/../typecheck/pass" EXTRATESTSDIR="$DIR/pass" -if [ -z "$BBVDIR" ] || opam config var coq-bbv:share >/dev/null 2>/dev/null; then +if opam config var coq-bbv:share >/dev/null 2>/dev/null; then COQOPTS="-Q $SAILDIR/lib/coq Sail" else - BBVDIR="$DIR/../../../bbv/src/bbv" + if [ -z "$BBVDIR" ]; then + BBVDIR="$DIR/../../../bbv/src/bbv" + fi COQOPTS="-Q $SAILDIR/lib/coq Sail -Q $BBVDIR bbv" fi |
