mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03: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:
@@ -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");
|
||||
|
Reference in New Issue
Block a user