[PATCH wayland] tests: Check for client/server-core.h inclusion
junk at humanoriented.com
Thu May 19 16:27:29 UTC 2016
From: Yong Bakos <ybakos at humanoriented.com>
The purpose of wayland-*-protocol-core.h is to mimc the
wayland-*-protocol.h generated by scanner --include-core-only.
The only difference being what wayland-*-protocol.h should include.
Add an include check in the headers-protocol-core-test, to be sure that
a wayland-*-protocol.h generated with the --include-core-only option
properly includes wayland-*-core.h.
Signed-off-by: Yong Bakos <ybakos at humanoriented.com>
tests/headers-protocol-core-test.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/tests/headers-protocol-core-test.c b/tests/headers-protocol-core-test.c
index aabcb0b..5c2baf3 100644
@@ -26,6 +26,13 @@
+#error including wayland-client-protocol-core.h did not include wayland-client-core.h!
+#error including wayland-server-protocol-core.h did not include wayland-server-core.h!
#error including wayland-client-protocol-core.h included wayland-client.h!
More information about the wayland-devel