unstick r375491

Revision 375491

Date:
2019/10/22 08:44:34
Author:
d0k
Revision Log:
[FrontendTests] Try again to make test not write an output file

Setting the output stream to nulls seems to work.
Files:

Legend:

 
Added
 
Removed
 
Modified
  • cfe/trunk/unittests/Frontend/OutputStreamTest.cpp

     
    58 58 std::string VerboseBuffer;
    59 59 raw_string_ostream VerboseStream(VerboseBuffer);
    60 60
    61 Compiler.setOutputStream(std::make_unique<raw_null_ostream>());
    61 62 Compiler.setInvocation(std::move(Invocation));
    62 63 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions();
    63 64 Compiler.createDiagnostics(
     
    86 87 std::unique_ptr<raw_ostream> VerboseStream =
    87 88 std::make_unique<raw_string_ostream>(VerboseBuffer);
    88 89
    90 Compiler.setOutputStream(std::make_unique<raw_null_ostream>());
    89 91 Compiler.setInvocation(std::move(Invocation));
    90 92 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions();
    91 93 Compiler.createDiagnostics(