Skip to content

Commit eb0d73c

Browse files
fix exit code evaluation in fsc tests
1 parent 6d17bf8 commit eb0d73c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/service/FscTests.fs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ module FSharp.Compiler.Service.Tests.FscTests
4040
use proc = Process.Start(psi)
4141
let stdOut = proc.StandardOutput.ReadToEnd()
4242
let stdErr = proc.StandardError.ReadToEnd()
43+
while not proc.HasExited do ()
4344
proc.ExitCode, stdOut, stdErr
4445

4546
member __.Verify(assemblyPath : string) =

0 commit comments

Comments
 (0)