summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest/tools_common.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/tools_common.sh b/test/tools_common.sh
index 430073831..8e8d78592 100755
--- a/test/tools_common.sh
+++ b/test/tools_common.sh
@@ -261,6 +261,9 @@ run_tests() {
return
fi
+ # Don't bother with the environment tests if everything else was disabled.
+ [ -z "${tests_to_filter}" ] && return
+
# Combine environment and actual tests.
local tests_to_run="${env_tests} ${tests_to_filter}"