#1558: make the testsuite work with THREADS=2
---------------------------+------------------------------------------------
    Reporter:  simonmar    |        Owner:             
        Type:  bug         |       Status:  new        
    Priority:  normal      |    Milestone:  6.8        
   Component:  Test Suite  |      Version:  6.6.1      
    Severity:  normal      |   Resolution:             
    Keywords:              |   Difficulty:  Easy (1 hr)
          Os:  Unknown     |     Testcase:             
Architecture:  Unknown     |  
---------------------------+------------------------------------------------
Comment (by simonmar):

 Here's one of those framework failures, on x86_64/Linux:

 {{{
 =====> signals002(normal)
 cd ../../../libraries/unix/tests &&
 '/64playpen/simonmar/testing/compiler/stage2/ghc-inplace' -no-recomp
 -dcore-lint -dcmm-lint -Dx86_64_unknown_linux  -o signals002 signals002.hs
 -package unix  >signals002.comp.stderr 2>&1
 cd ../../../libraries/unix/tests && ./signals002    </dev/null
 >signals002.run.stdout 2>signals002*** framework failure for
 conc027(normal) :
 Traceback (most recent call last):
   File "/home/simonmar/darcs-all/work/ghc-
 testing/testsuite/driver/testlib.py", line 445, in do_te
 st
     result = apply(func, [name,way] + args)
   File "/home/simonmar/darcs-all/work/ghc-
 testing/testsuite/driver/testlib.py", line 603, in compi
 le_and_run
     return compile_and_run__( name, way, extra_hc_opts, '' , '')
   File "/home/simonmar/darcs-all/work/ghc-
 testing/testsuite/driver/testlib.py", line 590, in compi
 le_and_run__
     result = simple_build( name, way, extra_hc_opts, 0, top_mod, 1 )
   File "/home/simonmar/darcs-all/work/ghc-
 testing/testsuite/driver/testlib.py", line 647, in simpl
 e_build
     result = runCmd(cmd)
   File "/home/simonmar/darcs-all/work/ghc-
 testing/testsuite/driver/testlib.py", line 1115, in runC
 md
     r = rawSystem([config.timeout_prog, str(config.timeout), cmd])
   File "/home/simonmar/darcs-all/work/ghc-
 testing/testsuite/driver/testlib.py", line 1092, in rawS
 ystem
     return subprocess.call(cmd_and_args)
   File "/usr/lib64/python2.4/subprocess.py", line 412, in call
     return Popen(*args, **kwargs).wait()
   File "/usr/lib64/python2.4/subprocess.py", line 1007, in wait
     pid, sts = os.waitpid(self.pid, 0)
 OSError: [Errno 10] No child processes
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1558>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to