From 1600ec9ac7cae320440b7d71dd4d4f0a2713f757 Mon Sep 17 00:00:00 2001 From: Marcial Rosales Date: Tue, 3 Sep 2024 14:35:28 +0100 Subject: [PATCH] Use DEBUG env var to turn on debugging --- selenium/bin/suite_template | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/selenium/bin/suite_template b/selenium/bin/suite_template index 0d194e19db17..1b7a00a1cfaa 100644 --- a/selenium/bin/suite_template +++ b/selenium/bin/suite_template @@ -1,6 +1,9 @@ #!/usr/bin/env bash -set -x +if [[ ! -z "${DEBUG}" ]]; then + set -x +fi + SCRIPT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" SUITE=$(caller)