mirror of
https://github.com/google/googletest.git
synced 2024-12-26 17:41:03 +08:00
On platforms without a file system, don't log an error when no
alternative output format is requested. Fixes #4299 PiperOrigin-RevId: 543932266 Change-Id: Ide78c313ecf6829e4910f4a8407275c81edb3848
This commit is contained in:
parent
f269e15c5c
commit
2acd538244
@ -5655,8 +5655,10 @@ void UnitTestImpl::ConfigureXmlOutput() {
|
||||
<< output_format << "\" ignored.";
|
||||
}
|
||||
#else
|
||||
if (!output_format.empty()) {
|
||||
GTEST_LOG_(ERROR) << "ERROR: alternative output formats require "
|
||||
<< "GTEST_HAS_FILE_SYSTEM to be enabled";
|
||||
}
|
||||
#endif // GTEST_HAS_FILE_SYSTEM
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user