[Test] Reenable SIL unit tests on windows.

Use `fflush(stdout)` from C++.

Issue 73252.
This commit is contained in:
Nate Chandler
2024-05-06 12:17:05 -07:00
parent b107a5e0d7
commit c84e196b16
10 changed files with 1 additions and 28 deletions

View File

@@ -105,6 +105,7 @@ void FunctionTest::run(SILFunction &function, Arguments &arguments,
auto *fn = invocation.get<NativeSwiftInvocation>();
Registry::get().getFunctionTestThunk()(fn, {&function}, {&arguments},
{getSwiftPassInvocation()});
fflush(stdout);
}
this->pass = nullptr;
this->function = nullptr;