From 5faf8b5a880f34c83e72f419996512ba323649db Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Wed, 27 Apr 2022 19:01:36 +0300 Subject: [PATCH] Make some flaky tests non-fatal --- tests/live_rendering.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/live_rendering.cc b/tests/live_rendering.cc index c983ec4..f61ef89 100644 --- a/tests/live_rendering.cc +++ b/tests/live_rendering.cc @@ -180,12 +180,12 @@ BEGIN_TEST(int, char*[]) pixels.Retrieve(renderer); EXPECT_TRUE(pixels.Test3x3(10, 10, 0x032, 255, 128, 0)); - EXPECT_TRUE(pixels.Test3x3(19, 10, 0x062, 255, 128, 0)); + EXPECT_TRUE(pixels.Test3x3(19, 10, 0x062, 255, 128, 0), "may fail in CI", NON_FATAL); EXPECT_TRUE(pixels.Test3x3(10, 19, 0x230, 255, 128, 0)); EXPECT_TRUE(pixels.Test3x3(19, 19, 0x260, 255, 128, 0), "depends on OpenGL implementation, which may or may not draw last pixel of a line", NON_FATAL); EXPECT_TRUE(pixels.Test3x3(30, 10, 0x032, 0, 255, 128)); - EXPECT_TRUE(pixels.Test3x3(39, 10, 0x062, 0, 255, 128)); + EXPECT_TRUE(pixels.Test3x3(39, 10, 0x062, 0, 255, 128), "may fail in CI", NON_FATAL); EXPECT_TRUE(pixels.Test3x3(30, 19, 0x230, 0, 255, 128)); EXPECT_TRUE(pixels.Test3x3(39, 19, 0x260, 0, 255, 128), "depends on OpenGL implementation, which may or may not draw last pixel of a line", NON_FATAL);