carbon-language / carbon-lang

Carbon Language's main repository: documents, design, implementation, and related tools. (NOTE: Carbon Language is experimental; see README)
https://github.com/carbon-language/carbon-lang/blob/trunk/README.md
Other
32.31k stars 1.48k forks source link

Move errs tie to LLVM to include test infrastructure. #4006

Closed jonmeow closed 1 month ago

jonmeow commented 1 month ago

The lack of flushing can sometimes be observed when streaming test output, particularly with --dump_output. My thought is moving it into our LLVM init is probably reasonable, given the driver's already doing this for similar reasons; this means it's used in tests through our gtest_main.cpp in addition to the driver.