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', 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,
['']) [''])
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