Disable unreliable tests

This commit is contained in:
Chris Thrasher 2023-02-14 09:38:54 -07:00
parent 9d0b2ba592
commit 2a2ddee221
2 changed files with 4 additions and 2 deletions

View File

@ -16,7 +16,8 @@ static_assert(!std::is_nothrow_move_constructible_v<sf::VertexBuffer>);
static_assert(std::is_move_assignable_v<sf::VertexBuffer>);
static_assert(!std::is_nothrow_move_assignable_v<sf::VertexBuffer>);
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())

View File

@ -11,7 +11,8 @@ static_assert(!std::is_copy_assignable_v<sf::Cursor>);
static_assert(!std::is_nothrow_move_constructible_v<sf::Cursor>);
static_assert(!std::is_nothrow_move_assignable_v<sf::Cursor>);
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")
{