#1599: testsuite timeout doesn't kill subprocesses on Windows
------------------------+---------------------------------------------------
 Reporter:  simonmar    |          Owner:  igloo     
     Type:  bug         |         Status:  new       
 Priority:  normal      |      Milestone:  6.8 branch
Component:  Test Suite  |        Version:  6.6.1     
 Severity:  normal      |     Resolution:            
 Keywords:              |     Difficulty:  Unknown   
 Testcase:              |   Architecture:  x86       
       Os:  Windows     |  
------------------------+---------------------------------------------------
Comment (by igloo):

 OK, `q.hsc` does the business:
 {{{
 $ ./build.sh
 + hsc2hs q.hsc
 + ghc --make q.hs
 [1 of 1] Compiling Main             ( q.hs, q.o )
 Linking q.exe ...

 $ time ./q.exe 1 ./Foo
 start main
 wibble

 real    0m1.331s
 user    0m0.010s
 sys     0m0.000s

 $ time ./q.exe 5 ./Foo
 start main
 wibble
 flibble
 end main
 ('A',0)

 real    0m3.175s
 user    0m0.020s
 sys     0m0.010s
 }}}
 Now it just needs splitting into 2 and merging into the Win32 package and
 testsuite timeout program.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1599#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to