[FrontendTests] Don't actually run the full compiler, parsing is sufficient.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@375488 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/unittests/Frontend/OutputStreamTest.cpp b/unittests/Frontend/OutputStreamTest.cpp
index 14537ec..e83b1dd 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 = EmitBC;
+  Invocation->getFrontendOpts().ProgramAction = ParseSyntaxOnly;
   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 = EmitBC;
+  Invocation->getFrontendOpts().ProgramAction = ParseSyntaxOnly;
   Invocation->getTargetOpts().Triple = "i386-unknown-linux-gnu";
   CompilerInstance Compiler;