Commit 85ab93f2 authored by Mikaël Salson's avatar Mikaël Salson

launch_functional_tests: Fail when tested-browsers don't exist and is required

Otherwise the script fails silently (because the sed command on the line below
fails but as it is launched in an external shell this doesn't impact the current
one.
parent 5bacf56c
Pipeline #71419 failed with stages
in 15 minutes and 54 seconds
......@@ -7,6 +7,9 @@ fi
if [ "$1" = "--browsers-from-file" ]
then
shift
if [ ! -f ./tested-browsers ]; then
exit 1
fi
BROWSER_LIST=`sed "s#^#$FUNCTIONAL_CLIENT_BROWSER_DIR#" ./tested-browsers`
else
BROWSER_LIST=$FUNCTIONAL_CLIENT_BROWSER_PATH
......
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