@@ -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");