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

Function GetDefaultFailFast

source/test/gtest/src/gtest.cc:230–237  ·  view source on GitHub ↗

Bazel passes in the argument to '--test_runner_fail_fast' via the TESTBRIDGE_TEST_RUNNER_FAIL_FAST environment variable.

Source from the content-addressed store, hash-verified

228// Bazel passes in the argument to '--test_runner_fail_fast' via the
229// TESTBRIDGE_TEST_RUNNER_FAIL_FAST environment variable.
230static bool GetDefaultFailFast() {
231 const char* const testbridge_test_runner_fail_fast =
232 internal::posix::GetEnv("TESTBRIDGE_TEST_RUNNER_FAIL_FAST");
233 if (testbridge_test_runner_fail_fast != nullptr) {
234 return strcmp(testbridge_test_runner_fail_fast, "1") == 0;
235 }
236 return false;
237}
238
239} // namespace testing
240

Callers 1

gtest.ccFile · 0.85

Calls 1

GetEnvFunction · 0.85

Tested by

no test coverage detected