MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / GetDefaultFilter

Function GetDefaultFilter

source/test/gtest/src/gtest.cc:219–226  ·  view source on GitHub ↗

Bazel passes in the argument to '--test_filter' via the TESTBRIDGE_TEST_ONLY environment variable.

Source from the content-addressed store, hash-verified

217// Bazel passes in the argument to '--test_filter' via the TESTBRIDGE_TEST_ONLY
218// environment variable.
219static 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.

Callers 1

gtest.ccFile · 0.85

Calls 1

GetEnvFunction · 0.85

Tested by

no test coverage detected