idk ole did something
This commit is contained in:
parent
19565e7303
commit
631df5e837
|
@ -56,24 +56,25 @@ cd "unit_tests"
|
|||
|
||||
# run all test except single one is specified
|
||||
if [ ! -z $2 ]; then
|
||||
$numberofruns = $2
|
||||
numberofruns=$2
|
||||
fi
|
||||
|
||||
if [ -z $1 ]; then
|
||||
for i in *
|
||||
do
|
||||
if [ -d $i -a -f $i/test.act ]; then
|
||||
while [ $failed = 0 ] && [ $iteration < $numberofruns ]
|
||||
while [ $failed = 0 ] && [ $iteration -lt $numberofruns ]
|
||||
do
|
||||
run_test $iteration
|
||||
iteration=$iteration+1
|
||||
done
|
||||
fi
|
||||
done
|
||||
else
|
||||
|
||||
while [ $failed = 0 ] && [ $iteration < $numberofruns ]
|
||||
while [ $failed -eq 0 ] && [ $iteration -lt $numberofruns ]
|
||||
do
|
||||
run_test $1 $iteration
|
||||
iteration=$((iteration+1))
|
||||
done
|
||||
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue