From 341bb12a0d6952ba7af840dabe9651ced582e7a7 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Fri, 14 Apr 2017 19:48:04 +0100 Subject: [PATCH] tests: Add one more indentation level to some macros This is a preparatory patch for the next one. Signed-off-by: Emmanuel Gil Peyrot Reviewed-by: Daniel Stone --- tests/test-runner.h | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/tests/test-runner.h b/tests/test-runner.h index 64f8d4c..c7a84aa 100644 --- a/tests/test-runner.h +++ b/tests/test-runner.h @@ -37,24 +37,24 @@ struct test { int must_fail; } __attribute__ ((aligned (16))); -#define TEST(name) \ - static void name(void); \ - \ - const struct test test##name \ - __attribute__ ((section ("test_section"))) = { \ - #name, name, 0 \ - }; \ - \ +#define TEST(name) \ + static void name(void); \ + \ + const struct test test##name \ + __attribute__ ((section ("test_section"))) = { \ + #name, name, 0 \ + }; \ + \ static void name(void) -#define FAIL_TEST(name) \ - static void name(void); \ - \ - const struct test test##name \ - __attribute__ ((section ("test_section"))) = { \ - #name, name, 1 \ - }; \ - \ +#define FAIL_TEST(name) \ + static void name(void); \ + \ + const struct test test##name \ + __attribute__ ((section ("test_section"))) = { \ + #name, name, 1 \ + }; \ + \ static void name(void) int