mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 01:50:42 -05:00
tests/cogl: Migrate snippets test
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2555>
This commit is contained in:
parent
a53fdfb733
commit
a8f9466978
@ -1,6 +1,5 @@
|
||||
cogl_test_conformance_sources = [
|
||||
'test-conform-main.c',
|
||||
'test-snippets.c',
|
||||
'test-wrap-modes.c',
|
||||
'test-sub-texture.c',
|
||||
'test-custom-attributes.c',
|
||||
|
@ -82,7 +82,6 @@ main (int argc, char **argv)
|
||||
|
||||
ADD_TEST (test_primitive, 0, 0);
|
||||
|
||||
ADD_TEST (test_snippets, 0, 0);
|
||||
ADD_TEST (test_custom_attributes, 0, 0);
|
||||
|
||||
ADD_TEST (test_offscreen, 0, 0);
|
||||
|
@ -15,7 +15,6 @@ void test_read_texture_formats (void);
|
||||
void test_write_texture_formats (void);
|
||||
void test_alpha_textures (void);
|
||||
void test_primitive (void);
|
||||
void test_snippets (void);
|
||||
void test_custom_attributes (void);
|
||||
void test_offscreen (void);
|
||||
void test_journal_unref_flush (void);
|
||||
|
@ -10,6 +10,7 @@ cogl_tests = [
|
||||
'test-pipeline-uniforms',
|
||||
'test-pixel-buffer',
|
||||
'test-premult',
|
||||
'test-snippets',
|
||||
]
|
||||
|
||||
cogl_test_conformance_includes = [
|
||||
|
@ -2,8 +2,7 @@
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "test-declarations.h"
|
||||
#include "test-utils.h"
|
||||
#include "tests/cogl-test-utils.h"
|
||||
|
||||
typedef struct _TestState
|
||||
{
|
||||
@ -796,7 +795,7 @@ run_tests (TestState *state)
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
test_snippets (void)
|
||||
{
|
||||
TestState state;
|
||||
@ -816,3 +815,7 @@ test_snippets (void)
|
||||
if (cogl_test_verbose ())
|
||||
g_print ("OK\n");
|
||||
}
|
||||
|
||||
COGL_TEST_SUITE (
|
||||
g_test_add_func ("/snippets", test_snippets);
|
||||
)
|
Loading…
Reference in New Issue
Block a user