ref: 1c69be6e757d856298a427414b7e98d402557dd9
parent: 60e9b731cf8945403dbcf149a0f6dc745e5cabe1
parent: 84eca07c612c8095a3da0f900eed14bc1053e8e6
author: James Zern <jzern@google.com>
date: Thu Dec 18 13:36:49 EST 2014
Merge "tests/examples.sh: skip env. check for filtered tests"
--- 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}"