ole added no stop on fail
This commit is contained in:
parent
cefe78fa24
commit
276efdede5
@ -29,7 +29,7 @@ run_test () {
|
||||
cat $1/run/prsim.in | prsim -r $1/run/test.prs > $1/run/prsim.out
|
||||
if egrep '(WRONG|WARNING|Node)' $1/run/prsim.out >/dev/null; then
|
||||
echo "${bold}*** simulation failed seed: $2 ***${normal}"
|
||||
faildirs="${faildirs} ${1}-sim"
|
||||
faildirs="${faildirs} ${1}-sim($2)"
|
||||
failed=1
|
||||
echo
|
||||
fi
|
||||
@ -56,9 +56,9 @@ cd "unit_tests"
|
||||
|
||||
# run all test except single one is specified
|
||||
if [ ! -z $3 ]; then
|
||||
numberofruns=$2+$3
|
||||
iteration=$3
|
||||
elif [ ! -z $2 ]; then
|
||||
fi
|
||||
if [ ! -z $2 ]; then
|
||||
numberofruns=$2
|
||||
fi
|
||||
|
||||
@ -66,7 +66,7 @@ if [ -z $1 ]; then
|
||||
for i in *
|
||||
do
|
||||
if [ -d $i -a -f $i/test.act ]; then
|
||||
while [ $failed = 0 ] && [ $iteration -lt $numberofruns ]
|
||||
while [ $iteration -lt $numberofruns ]
|
||||
do
|
||||
run_test $iteration
|
||||
iteration=$iteration+1
|
||||
@ -74,7 +74,7 @@ if [ -z $1 ]; then
|
||||
fi
|
||||
done
|
||||
else
|
||||
while [ $failed -eq 0 ] && [ $iteration -lt $numberofruns ]
|
||||
while [ $iteration -lt $numberofruns ]
|
||||
do
|
||||
run_test $1 $iteration
|
||||
iteration=$((iteration+1))
|
||||
|
Loading…
x
Reference in New Issue
Block a user