summaryrefslogtreecommitdiffstats
path: root/unittests/Frontend/CompilerInstanceTest.cpp
diff options
context:
space:
mode:
authorIlya Biryukov <ibiryukov@google.com>2019-06-11 09:52:30 +0000
committerIlya Biryukov <ibiryukov@google.com>2019-06-11 09:52:30 +0000
commitdfc7cb3fe8e163901c6a38e7b673888eac21797b (patch)
tree9734a93eea0c217003b6a27404aa52f8ca7266d7 /unittests/Frontend/CompilerInstanceTest.cpp
parent496a69e981f80192d774727e18d964288352299e (diff)
[Frontend] Avoid creating auxilary files during a unit test. NFC
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
Diffstat (limited to 'unittests/Frontend/CompilerInstanceTest.cpp')
-rw-r--r--unittests/Frontend/CompilerInstanceTest.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/unittests/Frontend/CompilerInstanceTest.cpp b/unittests/Frontend/CompilerInstanceTest.cpp
index 3ef13d32ca..3b3dc527df 100644
--- a/unittests/Frontend/CompilerInstanceTest.cpp
+++ b/unittests/Frontend/CompilerInstanceTest.cpp
@@ -73,7 +73,6 @@ TEST(CompilerInstance, DefaultVFSOverlayFromInvocation) {
TEST(CompilerInstance, AllowDiagnosticLogWithUnownedDiagnosticConsumer) {
auto DiagOpts = new DiagnosticOptions();
- DiagOpts->DiagnosticLogFile = "log.diags";
// Create the diagnostic engine with unowned consumer.
std::string DiagnosticOutput;