[PATCH wayland 1/4] tests: Add one more indentation level to some macros

Emmanuel Gil Peyrot emmanuel.peyrot at collabora.com
Fri Apr 14 18:48:04 UTC 2017


This is a preparatory patch for the next one.

Signed-off-by: Emmanuel Gil Peyrot <emmanuel.peyrot at collabora.com>
---
 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
-- 
2.12.2



More information about the wayland-devel mailing list