From 84eca07c612c8095a3da0f900eed14bc1053e8e6 Mon Sep 17 00:00:00 2001 From: James Zern Date: Wed, 17 Dec 2014 19:02:00 -0800 Subject: [PATCH] tests/examples.sh: skip env. check for filtered tests Change-Id: Ide670b00ae3ecd9e18f394905341bf793349f247 --- test/tools_common.sh | 3 +++ 1 file changed, 3 insertions(+) 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}"