Make some flaky tests non-fatal

This commit is contained in:
Dmitry Marakasov 2022-04-27 19:01:36 +03:00
parent 34329a72ef
commit 5faf8b5a88

View File

@ -180,12 +180,12 @@ BEGIN_TEST(int, char*[])
pixels.Retrieve(renderer); pixels.Retrieve(renderer);
EXPECT_TRUE(pixels.Test3x3(10, 10, 0x032, 255, 128, 0)); 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(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(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(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(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); 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);