aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2019-10-22 08:37:15 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2019-10-22 08:37:15 +0000
commit3f4b39141dfb8d13649da48635393e35e03054f3 (patch)
treecf6444ebb9253d0007d447470a180a7f969aea3b
parent327f79bc69360fadf014aecc5e81bc706f9693b6 (diff)
downloadclang-3f4b39141dfb8d13649da48635393e35e03054f3.tar.gz
Revert "[FrontendTests] Don't actually run the full compiler, parsing is sufficient."
This reverts commit 375488. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@375489 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--unittests/Frontend/OutputStreamTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/unittests/Frontend/OutputStreamTest.cpp b/unittests/Frontend/OutputStreamTest.cpp
index e83b1dd975..14537ecdc5 100644
--- a/unittests/Frontend/OutputStreamTest.cpp
+++ b/unittests/Frontend/OutputStreamTest.cpp
@@ -27,7 +27,7 @@ TEST(FrontendOutputTests, TestOutputStream) {
"test.cc", MemoryBuffer::getMemBuffer("").release());
Invocation->getFrontendOpts().Inputs.push_back(
FrontendInputFile("test.cc", Language::CXX));
- Invocation->getFrontendOpts().ProgramAction = ParseSyntaxOnly;
+ Invocation->getFrontendOpts().ProgramAction = EmitBC;
Invocation->getTargetOpts().Triple = "i386-unknown-linux-gnu";
CompilerInstance Compiler;
@@ -51,7 +51,7 @@ TEST(FrontendOutputTests, TestVerboseOutputStreamShared) {
"test.cc", MemoryBuffer::getMemBuffer("invalid").release());
Invocation->getFrontendOpts().Inputs.push_back(
FrontendInputFile("test.cc", Language::CXX));
- Invocation->getFrontendOpts().ProgramAction = ParseSyntaxOnly;
+ Invocation->getFrontendOpts().ProgramAction = EmitBC;
Invocation->getTargetOpts().Triple = "i386-unknown-linux-gnu";
CompilerInstance Compiler;