Correctly run all tests again when no file is specified
This commit is contained in:
parent
bfcd5a3802
commit
0242c5c2d1
|
@ -228,7 +228,7 @@ if [ -z "$1" ]
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
FILENAME="$2"
|
FILENAME="$2"
|
||||||
if [ ! -f "tests/$FILENAME" ]; then
|
if [ ! -z "$2" ] && [ ! -f "tests/$FILENAME" ]; then
|
||||||
FILENAME="../$FILENAME"
|
FILENAME="../$FILENAME"
|
||||||
fi
|
fi
|
||||||
execute_tests "$1" "$FILENAME" "$3"
|
execute_tests "$1" "$FILENAME" "$3"
|
||||||
|
|
Loading…
Reference in New Issue