Progmasoft Git

catch3

Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.

Clonegit clone https://git.progmasoft.com/catch3

Rename provideBazelReporterOutput -> enableBazelEnvSupport

The new name better reflects that we are adding support for more
Bazel environment variables.
Commit
afc017ef52c17f1b9aae7a5ed2be92494dd94e45
Author
Martin Hořeňovský ·
Parents
fb68bb0bd5d9

Files · Download .tar.gz

Changes

 src/catch2/catch_config.cpp | 4 ++--
 1 file 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.