diff options
author | Ian Lynagh <igloo@earth.li> | 2011-09-18 22:06:49 +0100 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2011-09-18 22:06:49 +0100 |
commit | 2a24c3c1e4678e17ae3382c7c4590a36baebc4e1 (patch) | |
tree | 5d891aed4bda74812a5caf247a05d08c7ce3610b /testsuite | |
parent | cf379454e0674c100b9b135e4b1f06ae7f5ffdae (diff) | |
download | haskell-2a24c3c1e4678e17ae3382c7c4590a36baebc4e1.tar.gz |
Add amd64/OS X specific stats to the T4801 test
The OS X codegen has higher memory requirements than the elf codegen.
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/tests/perf/compiler/all.T | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/testsuite/tests/perf/compiler/all.T b/testsuite/tests/perf/compiler/all.T index 7083e77349..1bcd6a9ffc 100644 --- a/testsuite/tests/perf/compiler/all.T +++ b/testsuite/tests/perf/compiler/all.T @@ -82,27 +82,35 @@ test('T4801', if_wordsize(32, compiler_stats_num_field('peak_megabytes_allocated', 30, 40)), # expected value: 52 (amd64/Linux): - # expected value: 72 (out of date) (amd64/OS X): if_wordsize(64, - compiler_stats_num_field('peak_megabytes_allocated', 50, 60)), + compiler_stats_num_field('peak_megabytes_allocated', 50, 54)), + # expected value: 64 (amd64/OS X): + if_platform('x86_64-apple-darwin', + compiler_stats_num_field('peak_megabytes_allocated', 62, 66)), # expected value: 353463196 (x86/Windows) if_wordsize(32, compiler_stats_num_field('bytes allocated', 330000000, 370000000)), # expected value: 458700632 (amd64/Linux): - # expected value: 813714032 (out of date) (amd64/OS X): if_wordsize(64, - compiler_stats_num_field('bytes allocated', 400000000, - 500000000)), + compiler_stats_num_field('bytes allocated', 440000000, + 480000000)), + # expected value: 510938976 (amd64/OS X): + if_platform('x86_64-apple-darwin', + compiler_stats_num_field('bytes allocated', 490000000, + 530000000)), # expected value: 14181360 (x86/Linux) if_wordsize(32, compiler_stats_num_field('max_bytes_used', 11000000, 14000000)), - # expected value: 18188272 (amd64/Linux, bindist) - # expected value: 7189848 (wrong?) (amd64/Linux, intree): + # expected value: 18188272 (amd64/Linux) if_wordsize(64, compiler_stats_num_field('max_bytes_used', 15000000, 20000000)), + # expected value: 23097936 (amd64/OS X): + if_platform('x86_64-apple-darwin', + compiler_stats_num_field('max_bytes_used', 21000000, + 25000000)), only_ways(['normal']) ], compile, |