summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2013-02-10 17:45:59 +0000
committerIan Lynagh <ian@well-typed.com>2013-02-10 17:45:59 +0000
commit35412074d28410c30b26ed0bb026cd15c9721407 (patch)
tree09c407a7657a07c5a50a932d856c19ea76034ed6 /testsuite
parent448d4e71f3e6875638ba6028bbc54fe8a475cc3a (diff)
downloadhaskell-35412074d28410c30b26ed0bb026cd15c9721407.tar.gz
More 32bit perf bound fixes
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/tests/perf/space_leaks/all.T16
1 files changed, 10 insertions, 6 deletions
diff --git a/testsuite/tests/perf/space_leaks/all.T b/testsuite/tests/perf/space_leaks/all.T
index f3260c2eb2..a1fd641868 100644
--- a/testsuite/tests/perf/space_leaks/all.T
+++ b/testsuite/tests/perf/space_leaks/all.T
@@ -5,11 +5,15 @@ test('space_leak_001',
# 4 (x86/OS X)
# 5 (x86/Linux)
[stats_num_field('peak_megabytes_allocated', (4, 1)),
- stats_num_field('max_bytes_used', (440000, 10)),
- # expected value: 440224 (amd64/Linux)
- # 417016 (x86/OS X)
- # 415672 (x86/Windows)
- # 481456 (unreg amd64/Linux)
+ stats_num_field('max_bytes_used',
+ [(wordsize(64), 440000, 10),
+ # 440224 (amd64/Linux)
+ # 417016 (x86/OS X)
+ # 415672 (x86/Windows)
+ # 481456 (unreg amd64/Linux)
+ (wordsize(32), 405650, 10)]),
+ # 2013-02-10 372072 (x86/OSX)
+ # 2013-02-10 439228 (x86/OSX)
stats_num_field('bytes allocated', (9079316016, 1)),
# expected value: 9079316016 (amd64/Linux)
# 9331570416 (x86/Linux)
@@ -23,7 +27,7 @@ test('space_leak_001',
test('T4334',
# Test for a space leak in Data.List.lines (fixed with #4334)
[extra_run_opts('1000000 2 t'),
- stats_num_field('peak_megabytes_allocated', (2, 0)),
+ stats_num_field('peak_megabytes_allocated', (2, 1)),
# prof ways don't work well with +RTS -V0
omit_ways(['profasm','profthreaded'])
],