A test added in r363009 logs diagnostics into a file inside current
working directory. This breaks when the directory is not writable.
This looks like a debugging output in the first place, the test passes
without it anyway.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@363041
91177308-0d34-0410-b5e6-
96231b3b80d8
TEST(CompilerInstance, AllowDiagnosticLogWithUnownedDiagnosticConsumer) {
auto DiagOpts = new DiagnosticOptions();
- DiagOpts->DiagnosticLogFile = "log.diags";
// Create the diagnostic engine with unowned consumer.
std::string DiagnosticOutput;