Skip to content

Commit fbe3b66

Browse files
committed
Slight delay
1 parent 7395bea commit fbe3b66

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

compiler/test.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{-# LANGUAGE CPP #-}
2+
import Control.Concurrent
23
import Data.List
34
import Data.List.Split
45
import Data.Maybe
@@ -146,6 +147,7 @@ rtsTests =
146147
-- worker threads (as specified on command line), IO+new IO & main
147148
testBuild "" ExitSuccess False "../test/rts/wthreads1.act"
148149
(pin, pout, perr, ph) <- runInteractiveProcess "../test/rts/wthreads1" ["--rts-wthreads=7"] Nothing Nothing
150+
threadDelay 100000
149151
mpid <- getPid ph
150152
case mpid of
151153
Just pid -> do

0 commit comments

Comments
 (0)