Skip to content

Commit

Permalink
Rename provideBazelReporterOutput -> enableBazelEnvSupport
Browse files Browse the repository at this point in the history
The new name better reflects that we are adding support for more
Bazel environment variables.
  • Loading branch information
horenmar committed Oct 18, 2022
1 parent 77f7c01 commit 7d88207
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/catch2/catch_config.cpp
Expand Up @@ -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)
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 7d88207

Please sign in to comment.