From 83b5191399157ff7a3ade3d95974cf5e3c8a077e Mon Sep 17 00:00:00 2001 From: Anastasia Klimchuk Date: Fri, 17 Sep 2021 11:03:43 +1000 Subject: tests: Move LOG_ME to include/tests.h to be available everywhere LOG_ME macro is very generic and can be useful anywhere in tests. Previously was only used in scope of tests.c. With time more tests are added, and more files, LOG_ME needs to be visible everywhere. BUG=b:181803212 TEST=builds and ninja test Change-Id: If7f3d256161bc8b81e996328e445cccab9a82174 Signed-off-by: Anastasia Klimchuk Reviewed-on: https://review.coreboot.org/c/flashrom/+/57914 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber --- tests/tests.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'tests/tests.c') diff --git a/tests/tests.c b/tests/tests.c index 9dadddfe..329e798a 100644 --- a/tests/tests.c +++ b/tests/tests.c @@ -21,9 +21,6 @@ #include #include -/* redefinitions/wrapping */ -#define LOG_ME printf("%s is called\n", __func__) - void *not_null(void) { return (void *)NON_ZERO; -- cgit v1.2.3