tests: Check for client/server-core.h inclusion
authorYong Bakos <ybakos@humanoriented.com>
Thu, 19 May 2016 16:27:29 +0000 (10:27 -0600)
committerBryce Harrington <bryce@osg.samsung.com>
Thu, 19 May 2016 21:31:18 +0000 (14:31 -0700)
commit9ca9f8e4b27f51a4d8b1b0823a93f15cf76540aa
tree4244c8c714aaf4f2b0c159fd58ecdd54809f9d35
parentf19b569ec2cf2f8dbaf00d62e2f6b131f29aeec4
tests: Check for client/server-core.h inclusion

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@humanoriented.com>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
tests/headers-protocol-core-test.c