ref: 84eca07c612c8095a3da0f900eed14bc1053e8e6
parent: 09b9a59fb5657954e35ba0573a39e7620d7d5175
author: James Zern <jzern@google.com>
date: Wed Dec 17 14:02:00 EST 2014
tests/examples.sh: skip env. check for filtered tests Change-Id: Ide670b00ae3ecd9e18f394905341bf793349f247
--- a/test/tools_common.sh
+++ b/test/tools_common.sh
@@ -261,6 +261,9 @@
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}"