From 7d882078414974ed77db3c4fda6c2293eb778917 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ho=C5=99e=C5=88ovsk=C3=BD?= Date: Tue, 18 Oct 2022 11:33:42 +0200 Subject: [PATCH] Rename provideBazelReporterOutput -> enableBazelEnvSupport The new name better reflects that we are adding support for more Bazel environment variables. --- 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 4cb3627db5..ac8eb7226f 100644 --- a/src/catch2/catch_config.cpp +++ b/src/catch2/catch_config.cpp @@ -15,7 +15,7 @@ #include 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.