mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 08:00:42 -05:00
tests/cogl: Migrate no-gl header test
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2555>
This commit is contained in:
parent
590290cd6d
commit
c0746a04f9
@ -1,6 +1,5 @@
|
|||||||
cogl_test_conformance_sources = [
|
cogl_test_conformance_sources = [
|
||||||
'test-conform-main.c',
|
'test-conform-main.c',
|
||||||
'test-no-gl-header.c',
|
|
||||||
'test-version.c',
|
'test-version.c',
|
||||||
'test-layer-remove.c',
|
'test-layer-remove.c',
|
||||||
'test-alpha-test.c',
|
'test-alpha-test.c',
|
||||||
|
@ -24,6 +24,7 @@ cogl_tests = [
|
|||||||
[ 'test-point-size-attribute', [] ],
|
[ 'test-point-size-attribute', [] ],
|
||||||
[ 'test-point-sprite', [] ],
|
[ 'test-point-sprite', [] ],
|
||||||
[ 'test-point-sprite-known-failure', ['gl', 'gl3', 'gles2'] ],
|
[ 'test-point-sprite-known-failure', ['gl', 'gl3', 'gles2'] ],
|
||||||
|
[ 'test-no-gl-header', [] ],
|
||||||
]
|
]
|
||||||
|
|
||||||
cogl_test_conformance_includes = [
|
cogl_test_conformance_includes = [
|
||||||
|
@ -7,10 +7,9 @@
|
|||||||
#error "Including cogl.h shouldn't be including any GL headers"
|
#error "Including cogl.h shouldn't be including any GL headers"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void test_no_gl_header (void);
|
int
|
||||||
|
main (int argc,
|
||||||
void
|
char **argv)
|
||||||
test_no_gl_header (void)
|
|
||||||
{
|
{
|
||||||
|
return EXIT_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user