summaryrefslogtreecommitdiff
path: root/test/typecheck
diff options
context:
space:
mode:
authorAlasdair Armstrong2017-12-04 15:35:05 +0000
committerAlasdair Armstrong2017-12-04 15:35:05 +0000
commitd9f2fa400731d007ed2874f37ff8d8a649b73a9d (patch)
treea86b399e7c10ed3fdea6a5e70f12f194e2e0ec14 /test/typecheck
parenta8940494d24f1315852e45632e968d1cfdbb132a (diff)
Fix warnings in test suite
Diffstat (limited to 'test/typecheck')
-rwxr-xr-xtest/typecheck/run_tests.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/typecheck/run_tests.sh b/test/typecheck/run_tests.sh
index 48cf070b..a2567d21 100755
--- a/test/typecheck/run_tests.sh
+++ b/test/typecheck/run_tests.sh
@@ -62,7 +62,7 @@ for i in `ls $DIR/pass/`;
do
if $SAILDIR/sail -ddump_tc_ast -dsanity $DIR/pass/$i 2> /dev/null 1> $DIR/rtpass/$i;
then
- if $SAILDIR/sail -ddump_tc_ast -dno_cast -dsanity $DIR/rtpass/$i 2> /dev/null 1> $DIR/rtpass2/$i;
+ if $SAILDIR/sail -ddump_tc_ast -dmagic_hash -dno_cast -dsanity $DIR/rtpass/$i 2> /dev/null 1> $DIR/rtpass2/$i;
then
if diff $DIR/rtpass/$i $DIR/rtpass2/$i;
then
@@ -86,7 +86,7 @@ do
then
red "tested $i expecting fail" "pass"
else
- if $SAILDIR/sail -dno_cast -just_check $DIR/rtfail/$i 2> /dev/null;
+ if $SAILDIR/sail -dno_cast -dmagic_hash -just_check $DIR/rtfail/$i 2> /dev/null;
then
yellow "tested $i expecting fail" "passed re-check"
else