Skip to content
Snippets Groups Projects
Commit 72e84a71 authored by Etienne Kneuss's avatar Etienne Kneuss
Browse files

Make sure it is wrapped

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