diff options
| author | Brian Campbell | 2017-09-28 11:09:24 +0100 |
|---|---|---|
| committer | Brian Campbell | 2017-09-28 11:09:24 +0100 |
| commit | b5969ea7ca7de19ea2b96c48b1765e2c51e5d2af (patch) | |
| tree | 64fdca7e2bedaef9a78e63f5bfbc23a82c4d451b /test/mono/test.sh | |
| parent | 8bbb538494a3fc17c2c6a2fda2106a3c07ac0ed9 (diff) | |
Refine constructors during monomorphisation
Diffstat (limited to 'test/mono/test.sh')
| -rwxr-xr-x | test/mono/test.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/mono/test.sh b/test/mono/test.sh index b82406c3..2a5aa80b 100755 --- a/test/mono/test.sh +++ b/test/mono/test.sh @@ -26,7 +26,7 @@ while read -u 3 TEST ARGS; do if [ -z "$TESTONLY" -o "$TEST" = "$TESTONLY" ]; then # echo "$TEST ocaml" # rm -f -- "$OUTDIR"/* -# "$SAILDIR/sail" -ocaml "$SAILDIR/lib/prelude.sail" "$DIR/$TEST" -o "$OUTDIR/testout" $ARGS +# "$SAILDIR/sail" -ocaml "$SAILDIR/lib/prelude.sail" "$SAILDIR/lib/prelude_wrappers.sail" "$DIR/$TEST" -o "$OUTDIR/testout" $ARGS # cp -- "$SAILDIR"/src/gen_lib/sail_values.ml . # cp -- "$DIR"/test.ml . # ocamlc -I "$ZARITH" "$ZARITH/zarith.cma" -dllpath "$ZARITH" -I "$LEMDIR/ocaml-lib" "$LEMDIR/ocaml-lib/extract.cma" -I "$SAILDIR/src/_build/lem_interp" "$SAILDIR/src/_build/lem_interp/extract.cma" sail_values.ml testout.ml test.ml -o test @@ -34,7 +34,7 @@ while read -u 3 TEST ARGS; do echo "$TEST lem - ocaml" | tee -a -- "$LOG" rm -f -- "$OUTDIR"/* - "$SAILDIR/sail" -lem -lem_sequential -lem_mwords "$SAILDIR/lib/prelude.sail" "$DIR/$TEST".sail -o "$OUTDIR/testout" $ARGS $@ &>> "$LOG" && \ + "$SAILDIR/sail" -lem -lem_sequential -lem_mwords "$SAILDIR/lib/prelude.sail" "$SAILDIR/lib/prelude_wrappers.sail" "$DIR/$TEST".sail -o "$OUTDIR/testout" $ARGS $@ &>> "$LOG" && \ "$LEMDIR/bin/lem" -ocaml -lib "$SAILDIR/src/lem_interp" "$SAILDIR/src/gen_lib/sail_values.lem" "$SAILDIR/src/gen_lib/sail_operators_mwords.lem" "$SAILDIR/src/gen_lib/state.lem" testout_embed_types_sequential.lem testout_embed_sequential.lem -outdir "$OUTDIR" &>> "$LOG" && \ cp -- "$DIR"/test.ml "$OUTDIR" && \ ocamlc -I "$ZARITH" "$ZARITH/zarith.cma" -dllpath "$ZARITH" -I "$LEMDIR/ocaml-lib" "$LEMDIR/ocaml-lib/extract.cma" -I "$SAILDIR/src/_build/lem_interp" "$SAILDIR/src/_build/lem_interp/extract.cma" sail_values.ml sail_operators_mwords.ml state.ml testout_embed_types_sequential.ml testout_embed_sequential.ml test.ml -o test &>> "$LOG" && \ |
