From 2a2ddee221448478a14d29d90204e9e95f884afb Mon Sep 17 00:00:00 2001 From: Chris Thrasher Date: Tue, 14 Feb 2023 09:38:54 -0700 Subject: [PATCH] Disable unreliable tests --- test/Graphics/VertexBuffer.test.cpp | 3 ++- test/Window/Cursor.test.cpp | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/test/Graphics/VertexBuffer.test.cpp b/test/Graphics/VertexBuffer.test.cpp index ff7cc600b..63f20dbf0 100644 --- a/test/Graphics/VertexBuffer.test.cpp +++ b/test/Graphics/VertexBuffer.test.cpp @@ -16,7 +16,8 @@ static_assert(!std::is_nothrow_move_constructible_v); static_assert(std::is_move_assignable_v); static_assert(!std::is_nothrow_move_assignable_v); -TEST_CASE("[Graphics] sf::VertexBuffer" * doctest::skip(skipDisplayTests)) +// Skip these tests because they produce flakey failures in CI when using xvfb-run +TEST_CASE("[Graphics] sf::VertexBuffer" * doctest::skip(true)) { // Skip tests if vertex buffers aren't available if (!sf::VertexBuffer::isAvailable()) diff --git a/test/Window/Cursor.test.cpp b/test/Window/Cursor.test.cpp index bb53c2f73..9fab29502 100644 --- a/test/Window/Cursor.test.cpp +++ b/test/Window/Cursor.test.cpp @@ -11,7 +11,8 @@ static_assert(!std::is_copy_assignable_v); static_assert(!std::is_nothrow_move_constructible_v); static_assert(!std::is_nothrow_move_assignable_v); -TEST_CASE("[Window] sf::Cursor" * doctest::skip(skipDisplayTests)) +// Skip these tests because they fail when using DRM which hasn't implemented sf::Cursor +TEST_CASE("[Window] sf::Cursor" * doctest::skip(true)) { SUBCASE("Construction") {