mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 19:00:07 +00:00
benchtests: Use TEST_NAME instead of hardcoding memcpy
The hardcoded 'memcpy' name turns up in other derived tests like mempcpy. * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of hardcoding memcpy. * benchtests/bench-memcpy-large.c (test_name): Likewise. * benchtests/bench-memcpy-random.c (test_name): Likewise.
This commit is contained in:
parent
d5afb38503
commit
7ee38e6040
@ -1,3 +1,10 @@
|
||||
2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
|
||||
|
||||
* benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
|
||||
hardcoding memcpy.
|
||||
* benchtests/bench-memcpy-large.c (test_name): Likewise.
|
||||
* benchtests/bench-memcpy-random.c (test_name): Likewise.
|
||||
|
||||
2017-08-07 Andreas Schwab <schwab@suse.de>
|
||||
|
||||
* elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
|
||||
|
@ -118,7 +118,7 @@ test_main (void)
|
||||
json_attr_string (&json_ctx, "timing_type", TIMING_TYPE);
|
||||
|
||||
json_attr_object_begin (&json_ctx, "functions");
|
||||
json_attr_object_begin (&json_ctx, "memcpy");
|
||||
json_attr_object_begin (&json_ctx, TEST_NAME);
|
||||
json_attr_string (&json_ctx, "bench-variant", "large");
|
||||
|
||||
json_array_begin (&json_ctx, "ifuncs");
|
||||
|
@ -156,7 +156,7 @@ test_main (void)
|
||||
json_attr_string (&json_ctx, "timing_type", TIMING_TYPE);
|
||||
|
||||
json_attr_object_begin (&json_ctx, "functions");
|
||||
json_attr_object_begin (&json_ctx, "memcpy");
|
||||
json_attr_object_begin (&json_ctx, TEST_NAME);
|
||||
json_attr_string (&json_ctx, "bench-variant", "random");
|
||||
|
||||
json_array_begin (&json_ctx, "ifuncs");
|
||||
|
@ -136,7 +136,7 @@ test_main (void)
|
||||
json_attr_string (&json_ctx, "timing_type", TIMING_TYPE);
|
||||
|
||||
json_attr_object_begin (&json_ctx, "functions");
|
||||
json_attr_object_begin (&json_ctx, "memcpy");
|
||||
json_attr_object_begin (&json_ctx, TEST_NAME);
|
||||
json_attr_string (&json_ctx, "bench-variant", "default");
|
||||
|
||||
json_array_begin (&json_ctx, "ifuncs");
|
||||
|
Loading…
Reference in New Issue
Block a user