diff options
| author | Martin Hořeňovský | 2022-10-18 11:33:42 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2022-10-20 21:34:27 +0200 |
| commit | afc017ef52c17f1b9aae7a5ed2be92494dd94e45 (patch) | |
| tree | de1a1cc5364a918f5112dad311d83fb29252a5fc /src | |
| parent | fb68bb0bd5d9f0969d00cf05a959cbfa9e0787a4 (diff) | |
| download | catch3-afc017ef52c17f1b9aae7a5ed2be92494dd94e45.tar.gz | |
Rename provideBazelReporterOutput -> enableBazelEnvSupport
The new name better reflects that we are adding support for more
Bazel environment variables.
Diffstat (limited to 'src')
| -rw-r--r-- | src/catch2/catch_config.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/catch2/catch_config.cpp b/src/catch2/catch_config.cpp index 4cb3627d..ac8eb722 100644 --- a/src/catch2/catch_config.cpp +++ b/src/catch2/catch_config.cpp @@ -15,7 +15,7 @@ #include <catch2/interfaces/catch_interfaces_tag_alias_registry.hpp> namespace { - bool provideBazelReporterOutput() { + bool enableBazelEnvSupport() { #if defined(CATCH_CONFIG_BAZEL_SUPPORT) return true; #elif defined(CATCH_PLATFORM_WINDOWS_UWP) @@ -86,7 +86,7 @@ namespace Catch { } #if !defined(CATCH_PLATFORM_WINDOWS_UWP) - if(provideBazelReporterOutput()){ + if(enableBazelEnvSupport()){ // Register a JUnit reporter for Bazel. Bazel sets an environment // variable with the path to XML output. If this file is written to // during test, Bazel will not generate a default XML output. |