Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/src/catch2
diff options
context:
space:
mode:
authorMartin Hořeňovský2022-10-18 11:33:42 +0200
committerMartin Hořeňovský2022-10-20 21:34:27 +0200
commitafc017ef52c17f1b9aae7a5ed2be92494dd94e45 (patch)
treede1a1cc5364a918f5112dad311d83fb29252a5fc /src/catch2
parentfb68bb0bd5d9f0969d00cf05a959cbfa9e0787a4 (diff)
downloadcatch3-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/catch2')
-rw-r--r--src/catch2/catch_config.cpp4
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.