mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 13:26:10 +01:00
Rename provideBazelReporterOutput -> enableBazelEnvSupport
The new name better reflects that we are adding support for more Bazel environment variables.
This commit is contained in:
parent
fb68bb0bd5
commit
afc017ef52
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user