#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):

 Also, I get a number of framework failures when running with THREADS=2:

 {{{
 OVERALL SUMMARY for test run started at Wed Aug  1 15:15:16 BST 2007
     1829 total tests, which gave rise to
     7144 test cases, of which
       74 caused framework failures
     5607 were skipped

     1405 expected passes
       55 expected failures
        0 unexpected passes
        3 unexpected failures

 Unexpected failures:
    cabal01(normal)
    mod144(normal)
    mod167(normal)
 }}}

 e.g.

 {{{
 =====> getEnvironment01(normal)
 cd ../../../libraries/unix/tests &&
 '/64playpen/simonmar/testing/compiler/stage2/ghc-inplace' -no-recomp
 -dcore-lint -dcmm-lint -Dx86_64_unknown_linux  -o getEnvironment01
 getEnvironment01.hs  -package unix  >getEnvironment01.comp.stderr 2>&1
 Compile failed (status 6656) errors were:
 *** framework failure for getEnvironment01(normal) :
 Traceback (most recent call last):
   File "/home/simonmar/darcs-all/work/ghc-
 testing/testsuite/driver/testlib.py", line 428, in do_test
     result = apply(func, [name,way] + args)
   File "/home/simonmar/darcs-all/work/ghc-
 testing/testsuite/driver/testlib.py", line 586, in compile_and_run
     return compile_and_run__( name, way, extra_hc_opts, '' , '')
   File "/home/simonmar/darcs-all/work/ghc-
 testing/testsuite/driver/testlib.py", line 573, in compile_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 635, in simple_build
     if_verbose(1,open(actual_stderr).read())
 IOError: [Errno 2] No such file or directory:
 '../../../libraries/unix/tests/getEnvironment01.comp.stderr'
 }}}

 This could be a bug in Python, perhaps related to signals and spawning
 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
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to