Commit d5999e77 authored by Ian Lynagh's avatar Ian Lynagh

Expand the space_leak expected results to work on more platforms

parent 2961830b
test('space_leak_001',
# Before trac #2747 was fixed this was 565, after it was 3
[stats_num_field('peak_megabytes_allocated', 3, 3),
stats_num_field('max_bytes_used', 430000,
# Before trac #2747 was fixed this was 565.
# Now it's: 3 (amd64/Linux)
# 4 (x86/OS X)
# 5 (x86/Linux)
[stats_num_field('peak_megabytes_allocated', 3, 5),
stats_num_field('max_bytes_used', 410000,
450000),
# expected value: 440224
stats_num_field('bytes allocated', 9340000000,
9350000000)],
# expected value: 9343740368
# expected value: 440224 (amd64/Linux)
# 417016 (x86/OS X)
# 415672 (x86/Windows)
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,
[''])
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment