Ticket #1829 (closed bug: fixed)

Opened 6 years ago

Last modified 6 years ago

Fix test case outofmem for PPC Mac OS X

Reported by: thorkilnaur Owned by: simonmar
Priority: normal Milestone:
Component: Test Suite Version: 6.8.1
Keywords: Cc:
Operating System: MacOS X Architecture: powerpc
Type of failure: Difficulty: Unknown
Test Case: outofmem Blocked By:
Blocking: Related Tickets:

Description

Running validate on my PPC Mac OS X has for some time reported

Unexpected failures:
   arrow(normal)
   arrowrun003(normal)
   divbyzero(normal)
   outofmem(normal)

with detailed report for outofmem(normal)

=====> outofmem(normal)cd ./rts && '/Users/thorkilnaur/tn/GHCDarcsRepository/ghc-HEAD-complete-for-pulling-and-copying-20070713_1212/ghc/compiler/stage2/ghc-inplace' -no-recomp -dcore-lint -dcmm-lint -Dpowerpc_apple_darwin  -o outofmem outofmem.hs    >outofmem.comp.stderr 2>&1
cd ./rts && ./outofmem    </dev/null >outofmem.run.stdout 2>outofmem.run.stderr
Actual stderr output differs from expected: 
--- ./rts/outofmem.stderr.normalised    2007-11-04 16:09:33.000000000 +0100
+++ ./rts/outofmem.run.stderr.normalised        2007-11-04 16:09:33.000000000 +0100
@@ -1 +1 @@
-outofmem: out of memory
+outofmem: memory allocation failed (requested 1074790400 bytes)
*** unexpected failure for outofmem(normal)

This is clearly a simple case of an error message that differs in a non-essential way. The attached patch supplies a specific stderr output file for powerpc_apple_darwin to fix this problem. With this change, validate reports

OVERALL SUMMARY for test run started at Sun Nov  4 19:25:15 CET 2007
    1988 total tests, which gave rise to
    7591 test cases, of which
       0 caused framework failures
    5932 were skipped

    1582 expected passes
      74 expected failures
       0 unexpected passes
       3 unexpected failures

Unexpected failures:
   arrow(normal)
   arrowrun003(normal)
   divbyzero(normal)

so at least, no harm seems to be done by this patch.

Best regards Thorkil

Attachments

fix_outofmem_for_powerpc_apple_darwin.dpatch.gz Download (13.8 KB) - added by thorkilnaur 6 years ago.
Patch to fix test case outofmem for powerpc_apple_darwin

Change History

Changed 6 years ago by thorkilnaur

Patch to fix test case outofmem for powerpc_apple_darwin

Changed 6 years ago by simonmar

  • owner set to simonmar

ok, I'll apply

Changed 6 years ago by simonmar

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.