1
0
Fork 0

tests/cogl: Migrate color-hsl test

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2555>
This commit is contained in:
Jonas Ådahl 2022-08-04 19:19:29 +02:00 committed by Marge Bot
parent 8c41b3b4a1
commit 3839fb49cb
5 changed files with 7 additions and 7 deletions

View file

@ -1,6 +1,5 @@
cogl_test_conformance_sources = [
'test-conform-main.c',
'test-color-hsl.c',
'test-backface-culling.c',
'test-just-vertex-shader.c',
'test-pipeline-user-matrix.c',

View file

@ -129,8 +129,6 @@ main (int argc, char **argv)
UNPORTED_TEST (test_viewport);
ADD_TEST (test_color_hsl, 0, 0);
ADD_TEST (test_fence, TEST_REQUIREMENT_FENCE, 0);
ADD_TEST (test_texture_no_allocate, 0, 0);

View file

@ -42,7 +42,6 @@ void test_pipeline_shader_state (void);
void test_gles2_context (void);
void test_gles2_context_fbo (void);
void test_gles2_context_copy_tex_image (void);
void test_color_hsl (void);
void test_fence (void);
void test_texture_no_allocate (void);
void test_texture_rg (void);

View file

@ -3,6 +3,7 @@ cogl_tests = [
'test-blend-strings',
'test-blend',
'test-depth-test',
'test-color-hsl',
]
cogl_test_conformance_includes = [

View file

@ -3,12 +3,11 @@
#include <cogl/cogl.h>
#include "test-declarations.h"
#include "test-utils.h"
#include "tests/cogl-test-utils.h"
#define TEST_CASE_EPSILON 0.0001
void
static void
test_color_hsl (void)
{
CoglColor color;
@ -44,3 +43,7 @@ test_color_hsl (void)
if (cogl_test_verbose ())
g_print ("OK\n");
}
COGL_TEST_SUITE (
g_test_add_func ("/color/hsl", test_color_hsl);
)