You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ensure build output is printed on swift-testing compiler error (#919)
When performing a swift-testing test run with code that fails to compile
the build output was being discarded. This made it hard to see why tests
weren't being run.
This was happening because swift-testing tests don't have their run
started until the .swift-testing binary has sent all of its `test`
events, which enumerate the parameterized test cases. This means that
build output is witheld until the run starts.
If there is a compile error, unless we call `testRunStarted()` to flush
the buffer of test result output, nothing is printed to the Test Results
panel and build output is lost.
0 commit comments