From 7343528e5821c69224000ed7cfd3e8aaf47b7a93 Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Fri, 16 Nov 2012 09:56:52 +0200 Subject: ubi-tests: switch to using common.h from the top level Sorry, the commit is huge, I just did not have time to split it. Signed-off-by: Artem Bityutskiy --- tests/ubi-tests/mkvol_paral.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/ubi-tests/mkvol_paral.c') diff --git a/tests/ubi-tests/mkvol_paral.c b/tests/ubi-tests/mkvol_paral.c index 4a6ae46..95b5e10 100644 --- a/tests/ubi-tests/mkvol_paral.c +++ b/tests/ubi-tests/mkvol_paral.c @@ -25,7 +25,8 @@ #include #include #include "libubi.h" -#define TESTNAME "mkvol_paral" +#define PROGRAM_NAME "mkvol_paral" +#include "common.h" #include "helpers.h" #define THREADS_NUM 4 @@ -45,7 +46,7 @@ static void * the_thread(void *ptr) { int n = (long)ptr, iter = iterations; struct ubi_mkvol_request req; - const char *name = TESTNAME ":the_thread()"; + const char *name = PROGRAM_NAME ":the_thread()"; char nm[strlen(name) + 50]; req.alignment = 1; -- cgit v1.2.3