mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-12 14:20:04 +00:00
->00.00% (0B) in 11 places, all below massif's threshold (00.00%) the threshold would always be incorrectly printed as 00.00%. This was because the percentage printing was broken for percentages less than 1.0. This change fixes this problem, and modifies a test to check for it. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11511
7 lines
449 B
Plaintext
7 lines
449 B
Plaintext
# At one point, thresholds less than 1.0% were misprinted as 00.00%, so test that here.
|
|
prog: insig
|
|
vgopts: --stacks=no --time-unit=B --heap-admin=128 --massif-out-file=massif.out --threshold=0.99
|
|
vgopts: --ignore-fn=__part_load_locale --ignore-fn=__time_load_locale --ignore-fn=dwarf2_unwind_dyld_add_image_hook --ignore-fn=get_or_create_key_element
|
|
post: perl ../../massif/ms_print massif.out | ../../tests/filter_addresses
|
|
cleanup: rm massif.out
|