Commit 55625422 authored by Mikaël Salson's avatar Mikaël Salson

launch_functional_tests: Can ignore FUNCTIONAL_CLIENT_BROWSER_PATH

It is set through project configuration but we may want to deactivate it for specific jobs
parent 74cbd1c1
......@@ -262,7 +262,7 @@ test_legacy-browser-functional:
extends: .browser-functional
variables:
WATIR_CHROME: "1"
FUNCTIONAL_CLIENT_BROWSER_PATH: ""
IGNORE_FUNCTIONAL_CBP: "1"
tags:
- legacy
......@@ -277,7 +277,7 @@ test_legacy-browser-functional-external:
extends: .browser-functional-external
variables:
WATIR_CHROME: "1"
FUNCTIONAL_CLIENT_BROWSER_PATH: ""
IGNORE_FUNCTIONAL_CBP: "1"
tags:
- legacy
......
# sh launch_functional_tests functional/test_*rb
if [ -z "$FUNCTIONAL_CLIENT_BROWSER_PATH" ]; then
if [ -z "$FUNCTIONAL_CLIENT_BROWSER_PATH" -o ! -z "$IGNORE_FUNCTIONAL_CBP" ]; then
FUNCTIONAL_CLIENT_BROWSER_PATH="."
fi
......
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