aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorVitaly Kuznetsov <[email protected]>2016-02-03 00:57:18 +0000
committerLinus Torvalds <[email protected]>2016-02-03 16:28:43 +0000
commit72676bb53f33fd0ef3a1484fc1ecfd306dc6ff40 (patch)
tree7ec74e7c5de71f659086228e9498700b4e5f6a27 /tools/perf/scripts/python
parentthp: limit number of object to scan on deferred_split_scan() (diff)
downloadkernel-72676bb53f33fd0ef3a1484fc1ecfd306dc6ff40.tar.gz
kernel-72676bb53f33fd0ef3a1484fc1ecfd306dc6ff40.zip
lib/test-string_helpers.c: fix and improve string_get_size() tests
Recently added commit 564b026fbd0d ("string_helpers: fix precision loss for some inputs") fixed precision issues for string_get_size() and broke tests. Fix and improve them: test both STRING_UNITS_2 and STRING_UNITS_10 at a time, better failure reporting, test small an huge values. Fixes: 564b026fbd0d28e9 ("string_helpers: fix precision loss for some inputs") Signed-off-by: Vitaly Kuznetsov <[email protected]> Cc: Andy Shevchenko <[email protected]> Cc: Rasmus Villemoes <[email protected]> Cc: James Bottomley <[email protected]> Cc: James Bottomley <[email protected]> Cc: "James E.J. Bottomley" <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions