Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
d5999e77
Commit
d5999e77
authored
Apr 03, 2009
by
Ian Lynagh
Browse files
Expand the space_leak expected results to work on more platforms
parent
2961830b
Changes
1
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/ghc-regress/space_leaks/all.T
View file @
d5999e77
test
('
space_leak_001
',
test
('
space_leak_001
',
# Before trac #2747 was fixed this was 565, after it was 3
# Before trac #2747 was fixed this was 565.
[
stats_num_field
('
peak_megabytes_allocated
',
3
,
3
),
# Now it's: 3 (amd64/Linux)
stats_num_field
('
max_bytes_used
',
430000
,
# 4 (x86/OS X)
# 5 (x86/Linux)
[
stats_num_field
('
peak_megabytes_allocated
',
3
,
5
),
stats_num_field
('
max_bytes_used
',
410000
,
450000
),
450000
),
# expected value: 440224
# expected value: 440224 (amd64/Linux)
stats_num_field
('
bytes allocated
',
9340000000
,
# 417016 (x86/OS X)
9350000000
)],
# 415672 (x86/Windows)
# expected value: 9343740368
if_platform
('
i386-unknown-mingw32
',
stats_num_field
('
bytes allocated
',
730000000
,
750000000
)),
# expected value: 739138140 (x86/Windows)
if_not_platform
('
i386-unknown-mingw32
',
stats_num_field
('
bytes allocated
',
9320000000
,
9350000000
))
# expected value: 9343740368 (amd64/Linux)
# 9331570416 (x86/Linux)
# 9329073952 (x86/OS X)
],
compile_and_run
,
compile_and_run
,
[''])
[''])
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment