mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-02 09:01:39 -05:00
tests: add code, public-code and private-code tests
First one is deprecated in favour of the second option. The latter is newly introduced and annotates the generated symbols accordingly. v2: Don't introduce small-public-code.c - reuse small-code.c (Pekka) Cc: Pekka Paalanen <ppaalanen@gmail.com> Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
This commit is contained in:
parent
bd92689382
commit
b02c4013e3
3 changed files with 77 additions and 1 deletions
|
|
@ -48,4 +48,8 @@ generate_and_compare "-c code" "small.xml" "small-code-core.c"
|
|||
generate_and_compare "-c client-header" "small.xml" "small-client-core.h"
|
||||
generate_and_compare "-c server-header" "small.xml" "small-server-core.h"
|
||||
|
||||
# The existing "code" must produce result identical to "public-code"
|
||||
generate_and_compare "code" "small.xml" "small-code.c"
|
||||
generate_and_compare "public-code" "small.xml" "small-code.c"
|
||||
generate_and_compare "private-code" "small.xml" "small-private-code.c"
|
||||
exit $RETCODE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue