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
diff --git a/unittests/Frontend/OutputStreamTest.cpp b/unittests/Frontend/OutputStreamTest.cpp
index e83b1dd..14537ec 100644
--- a/unittests/Frontend/OutputStreamTest.cpp
+++ b/unittests/Frontend/OutputStreamTest.cpp
@@ -27,7 +27,7 @@
"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.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;