Skip to content
Snippets Groups Projects
Commit 53e3fda3 authored by Régis Blanc's avatar Régis Blanc
Browse files

fix run-tests.sh

parent bf0cdbe7
No related branches found
No related tags found
No related merge requests found
...@@ -6,7 +6,7 @@ failedtests="" ...@@ -6,7 +6,7 @@ failedtests=""
for f in testcases/regression/valid/*.scala; do for f in testcases/regression/valid/*.scala; do
echo -n "Running $f, expecting VALID, got: " echo -n "Running $f, expecting VALID, got: "
res=`./leon --noLuckyTests --timeout=10 --oneline "$f"` res=`./leon --xlang --noLuckyTests --timeout=10 --oneline "$f"`
echo $res | tr [a-z] [A-Z] echo $res | tr [a-z] [A-Z]
if [ "$res" = valid ]; then if [ "$res" = valid ]; then
nbsuccess=$((nbsuccess + 1)) nbsuccess=$((nbsuccess + 1))
...@@ -17,7 +17,7 @@ done ...@@ -17,7 +17,7 @@ done
for f in testcases/regression/invalid/*.scala; do for f in testcases/regression/invalid/*.scala; do
echo -n "Running $f, expecting INVALID, got: " echo -n "Running $f, expecting INVALID, got: "
res=`./leon --noLuckyTests --timeout=10 --oneline "$f"` res=`./leon --xlang --noLuckyTests --timeout=10 --oneline "$f"`
echo $res | tr [a-z] [A-Z] echo $res | tr [a-z] [A-Z]
if [ "$res" = invalid ]; then if [ "$res" = invalid ]; then
nbsuccess=$((nbsuccess + 1)) nbsuccess=$((nbsuccess + 1))
...@@ -28,7 +28,7 @@ done ...@@ -28,7 +28,7 @@ done
for f in testcases/regression/error/*.scala; do for f in testcases/regression/error/*.scala; do
echo -n "Running $f, expecting ERROR, got: " echo -n "Running $f, expecting ERROR, got: "
res=`./leon --noLuckyTests --timeout=10 --oneline "$f"` res=`./leon --xlang --noLuckyTests --timeout=10 --oneline "$f"`
echo $res | tr [a-z] [A-Z] echo $res | tr [a-z] [A-Z]
if [ "$res" = error ]; then if [ "$res" = error ]; then
nbsuccess=$((nbsuccess + 1)) nbsuccess=$((nbsuccess + 1))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment