[GHC] #7739: Testsuite failures for HPC way tests on Windows

#7739: Testsuite failures for HPC way tests on Windows -------------------------+-------------------------------------------------- Reporter: rassilon | Owner: Type: bug | Status: new Priority: normal | Component: Test Suite Version: | Keywords: Os: Windows | Architecture: Unknown/Multiple Failure: None/Unknown | Blockedby: Blocking: | Related: -------------------------+-------------------------------------------------- Here's what happens on GHC-HEAD: {{{ =====> annrun01(hpc) 15 of 3566 [0, 0, 6] cd ./annotations/should_run && $MAKE -s --no-print-directory config Creating Config.hs ... cd ./annotations/should_run && 'd:/Dev/ghc/ghc/inplace/bin/ghc-stage2.exe' -fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output -no-user-package- db -rtsopts -fno-ghci-history --make -o annrun01 annrun01 -O -fhpc -hpcdir .hpc.annrun01 -package ghc >annrun01.comp.stderr 2>&1 cd ./annotations/should_run && ./annrun01
annrun01.run.stdout 2>annrun01.run.stderr Wrong exit code (expected 0 , actual 1 ) Stdout:
Stderr: in module 'Config' Hpc failure: module mismatch with .tix/.mix file hash number (perhaps remove annrun01.exe.tix file?) *** unexpected failure for annrun01(hpc) }}} The cause appears to be due to not cleaning up .exe.tix files. After deleting the files the tests pass again. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7739 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#7739: Testsuite failures for HPC way tests on Windows -------------------------+-------------------------------------------------- Reporter: rassilon | Owner: Type: bug | Status: patch Priority: normal | Component: Test Suite Version: | Keywords: Os: Windows | Architecture: Unknown/Multiple Failure: None/Unknown | Blockedby: Blocking: | Related: -------------------------+-------------------------------------------------- Changes (by rassilon): * status: new => patch Comment: The attached patch fixes this problem. I'm not sure if the .hpc.<name>/* files need to be cleaned up as well or not. It doesn't seem to cause any testsuite issues by not cleaning it up. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7739#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#7739: Testsuite failures for HPC way tests on Windows ---------------------------------+------------------------------------------ Reporter: rassilon | Owner: Type: bug | Status: patch Priority: normal | Milestone: 7.8.1 Component: Test Suite | Version: Keywords: | Os: Windows Architecture: Unknown/Multiple | Failure: None/Unknown Difficulty: Unknown | Testcase: Blockedby: | Blocking: Related: | ---------------------------------+------------------------------------------ Changes (by igloo): * difficulty: => Unknown * milestone: => 7.8.1 -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7739#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#7739: Testsuite failures for HPC way tests on Windows ---------------------------+------------------------------------------------ Reporter: rassilon | Owner: Type: bug | Status: closed Priority: normal | Milestone: 7.8.1 Component: Test Suite | Version: Resolution: fixed | Keywords: Os: Windows | Architecture: Unknown/Multiple Failure: None/Unknown | Difficulty: Unknown Testcase: | Blockedby: Blocking: | Related: ---------------------------+------------------------------------------------ Changes (by igloo): * status: patch => closed * resolution: => fixed Comment: The `tix` and `exe.tix` files are now cleaned in `pretest_cleanup`, so I believe this is now fixed. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7739#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (2)
-
GHC
-
GHC