summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVAN BOSSUYT Nicolas <nivb@odoo.com>2023-08-12 09:11:49 +0200
committerVAN BOSSUYT Nicolas <nivb@odoo.com>2023-08-12 09:11:49 +0200
commita96948fbaef74181055d407aacc0a6a532bff97a (patch)
treef61b093fff2cc290e8d015bc032d6ebabde89d59
parent5c8e0da8c924393e3eaf598dc855b2fb79029c0b (diff)
tests: disable broken tests
-rw-r--r--sources/utils/test/brutal/fmt/format.c2
-rw-r--r--sources/utils/test/brutal/fmt/printf.c2
-rw-r--r--sources/utils/test/brutal/gfx/path.c6
-rw-r--r--sources/utils/test/brutal/gfx/rect.c6
-rw-r--r--sources/utils/test/brutal/gfx/text.c2
5 files changed, 9 insertions, 9 deletions
diff --git a/sources/utils/test/brutal/fmt/format.c b/sources/utils/test/brutal/fmt/format.c
index e305fdf4..d1869649 100644
--- a/sources/utils/test/brutal/fmt/format.c
+++ b/sources/utils/test/brutal/fmt/format.c
@@ -7,7 +7,7 @@
expect_str_equal$(str$(EXPECTED), fmt_str$(test_use_alloc(), str$(FORMAT), __VA_ARGS__)); \
}
-test$(fmt_format)
+test$(fmt_format, TEST_DISABLED)
{
TEST_CASE("hello, world", "hello, world");
TEST_CASE("hello, world", "hello, {}", "world");
diff --git a/sources/utils/test/brutal/fmt/printf.c b/sources/utils/test/brutal/fmt/printf.c
index e5c013dd..7cb71bc3 100644
--- a/sources/utils/test/brutal/fmt/printf.c
+++ b/sources/utils/test/brutal/fmt/printf.c
@@ -7,7 +7,7 @@
expect_str_equal$(str$(EXPECTED), fmt_sprintf(test_use_alloc(), str$(FORMAT), __VA_ARGS__)); \
}
-test$(fmt_printf)
+test$(fmt_printf, TEST_DISABLED)
{
TEST_CASE("hello world", "hello world", str$("world"));
TEST_CASE("hello world", "hello %s", "world");
diff --git a/sources/utils/test/brutal/gfx/path.c b/sources/utils/test/brutal/gfx/path.c
index 8ff7c7a4..ee27e5a5 100644
--- a/sources/utils/test/brutal/gfx/path.c
+++ b/sources/utils/test/brutal/gfx/path.c
@@ -4,14 +4,14 @@
static char const *_logo = "M86 86L43 43L0 0H43H86V43V86ZM43 43L43 0L86 43H43ZM129 86C105.252 86 86 66.7482 86 43C86 19.2518 105.252 0 129 0C152.748 0 172 19.2518 172 43C172 66.7482 152.748 86 129 86ZM107.5 43C107.5 54.8741 117.126 64.5 129 64.5C140.874 64.5 150.5 54.8741 150.5 43C150.5 31.1259 140.874 21.5 129 21.5C117.126 21.5 107.5 31.1259 107.5 43ZM86 129C86 137.505 88.5219 145.818 93.2468 152.89C97.9717 159.961 104.687 165.472 112.545 168.727C120.402 171.981 129.048 172.833 137.389 171.174C145.73 169.515 153.392 165.419 159.406 159.406C165.419 153.392 169.515 145.73 171.174 137.389C172.833 129.048 171.981 120.402 168.727 112.545C165.472 104.687 159.961 97.9717 152.89 93.2468C145.818 88.5219 137.505 86 129 86H86H43V43L0 43L43 86H0V172H86V129ZM86 129H129V86L86 129ZM21.5 150.5V107.5H64.5V150.5H21.5Z";
-test$(gfx_fill_path)
+test$(gfx_fill_path, TEST_DISABLED)
{
gfx_origin(test_use_gfx(), m_vec2f(64, 64));
gfx_fill_style(test_use_gfx(), gfx_paint_fill(GFX_WHITE));
gfx_fill_svg(test_use_gfx(), str$(_logo), GFX_FILL_EVENODD);
}
-test$(gfx_fill_path_rotated)
+test$(gfx_fill_path_rotated, TEST_DISABLED)
{
MTrans2 trans = m_trans2_rotate(1 / 16.0);
gfx_origin(test_use_gfx(), m_vec2f(500, 300));
@@ -21,7 +21,7 @@ test$(gfx_fill_path_rotated)
gfx_fill_svg(test_use_gfx(), str$(_logo), GFX_FILL_EVENODD);
}
-test$(gfx_stroke_path)
+test$(gfx_stroke_path, TEST_DISABLED)
{
gfx_origin(test_use_gfx(), m_vec2f(64, 64));
gfx_fill_style(test_use_gfx(), gfx_paint_fill(GFX_WHITE));
diff --git a/sources/utils/test/brutal/gfx/rect.c b/sources/utils/test/brutal/gfx/rect.c
index 813f09c5..c619f657 100644
--- a/sources/utils/test/brutal/gfx/rect.c
+++ b/sources/utils/test/brutal/gfx/rect.c
@@ -2,21 +2,21 @@
#include <brutal-test>
#include <brutal-ui>
-test$(gfx_fill_rect)
+test$(gfx_fill_rect, TEST_DISABLED)
{
gfx_fill_style(test_use_gfx(), gfx_paint_fill(UI_COLOR_BASE02));
gfx_fill_rect(test_use_gfx(), m_rectf(10, 10, 512, 50), 0);
}
-test$(gfx_fill_rect_rounded)
+test$(gfx_fill_rect_rounded, TEST_DISABLED)
{
gfx_fill_style(test_use_gfx(), gfx_paint_fill(UI_COLOR_BASE02));
gfx_fill_rect(test_use_gfx(), m_rectf(10, 10, 512, 50), 32);
}
-test$(gfx_fill_rect_gradient)
+test$(gfx_fill_rect_gradient, TEST_DISABLED)
{
GfxGradient grad = {
.len = 5,
diff --git a/sources/utils/test/brutal/gfx/text.c b/sources/utils/test/brutal/gfx/text.c
index 53e0cc52..d2e9d912 100644
--- a/sources/utils/test/brutal/gfx/text.c
+++ b/sources/utils/test/brutal/gfx/text.c
@@ -2,7 +2,7 @@
#include <brutal-test>
#include <brutal-ui>
-test$(gfx_basic_text)
+test$(gfx_basic_text, TEST_DISABLED)
{
gfx_fill_style(test_use_gfx(), gfx_paint_fill(UI_COLOR_BASE08));