diff options
| author | Brian Campbell | 2018-10-12 18:14:41 +0100 |
|---|---|---|
| committer | Brian Campbell | 2018-10-12 18:14:41 +0100 |
| commit | a9b18e2be154c6e2429b156ae9390ffad89a7c2a (patch) | |
| tree | a290d509a8da97027f7e032503a5b20435b36444 | |
| parent | f63571c9a6b532f64b415de27bb0ee6cc358388d (diff) | |
Prevent accidental test failures when Coq compiles in the wrong order
| -rwxr-xr-x | test/coq/run_tests.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/coq/run_tests.sh b/test/coq/run_tests.sh index 5a723a06..db73580f 100755 --- a/test/coq/run_tests.sh +++ b/test/coq/run_tests.sh @@ -56,7 +56,8 @@ function check_tests_dir { do if $SAILDIR/sail -coq -dcoq_undef_axioms -o out $TESTSDIR/$i &>/dev/null; then - if coqc -R "$BBVDIR" bbv -R "$SAILDIR/lib/coq" Sail out_types.v out.v &>/dev/null; + if coqc -R "$BBVDIR" bbv -R "$SAILDIR/lib/coq" Sail out_types.v &>/dev/null && + coqc -R "$BBVDIR" bbv -R "$SAILDIR/lib/coq" Sail out.v &>/dev/null; then green "tested $i expecting pass" "pass" else |
