Bazel passes in the argument to '--test_filter' via the TESTBRIDGE_TEST_ONLY environment variable.
| 217 | // Bazel passes in the argument to '--test_filter' via the TESTBRIDGE_TEST_ONLY |
| 218 | // environment variable. |
| 219 | static const char* GetDefaultFilter() { |
| 220 | const char* const testbridge_test_only = |
| 221 | internal::posix::GetEnv("TESTBRIDGE_TEST_ONLY"); |
| 222 | if (testbridge_test_only != nullptr) { |
| 223 | return testbridge_test_only; |
| 224 | } |
| 225 | return kUniversalFilter; |
| 226 | } |
| 227 | |
| 228 | // Bazel passes in the argument to '--test_runner_fail_fast' via the |
| 229 | // TESTBRIDGE_TEST_RUNNER_FAIL_FAST environment variable. |