Commit 13db188d by Eddie Hung

Remove exit 1 as per @mmicko

parent 7da2877d
...@@ -66,22 +66,20 @@ for fn in $SIM; do ...@@ -66,22 +66,20 @@ for fn in $SIM; do
done done
$iverilog_cmd $iverilog_cmd
if [ $? != 0 ] ; then if [ $? != 0 ] ; then
echo FAIL > ${1}_${2}.status echo FAIL > ${1}_${2}.status
touch .stamp touch .stamp
exit 1 exit 0
fi fi
vvp -N sim $PLUSARGS | pv -l > output.txt vvp -N sim $PLUSARGS | pv -l > output.txt
if [ $? != 0 ] ; then if [ $? != 0 ] ; then
echo FAIL > ${1}_${2}.status echo FAIL > ${1}_${2}.status
touch .stamp touch .stamp
exit 1
fi fi
if [ "$2" = "falsify" ]; then if [ "$2" = "falsify" ]; then
if cmp output.txt ../work_sim/output.txt; then if cmp output.txt ../work_sim/output.txt; then
echo FAIL > ../../${1}_${2}.status echo FAIL > ../../${1}_${2}.status
exit 1
else else
echo PASS > ../../${1}_${2}.status echo PASS > ../../${1}_${2}.status
fi fi
...@@ -90,7 +88,6 @@ elif [ "$2" != "sim" ]; then ...@@ -90,7 +88,6 @@ elif [ "$2" != "sim" ]; then
echo PASS > ../../${1}_${2}.status echo PASS > ../../${1}_${2}.status
else else
echo FAIL > ../../${1}_${2}.status echo FAIL > ../../${1}_${2}.status
exit 1
fi fi
elif [ "$2" == "sim" ]; then elif [ "$2" == "sim" ]; then
echo PASS > ../../${1}_${2}.status echo PASS > ../../${1}_${2}.status
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment