From b4c7e4a8901a66c10fd380c194905474ebb48024 Mon Sep 17 00:00:00 2001 From: Chris Thrasher Date: Wed, 17 Jul 2024 16:22:37 -0600 Subject: [PATCH] Stop running tests that sometimes hang indefinitely --- test/Window/WindowBase.test.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/test/Window/WindowBase.test.cpp b/test/Window/WindowBase.test.cpp index ab910091e..6bfccba6f 100644 --- a/test/Window/WindowBase.test.cpp +++ b/test/Window/WindowBase.test.cpp @@ -196,7 +196,10 @@ TEST_CASE("[Window] sf::WindowBase", runDisplayTests()) windowBase.setMinimumSize(sf::Vector2u(200, 300)); } - SECTION("handleEvents()") + // Test for compilation but do not run. This code sometimes hangs indefinitely + // when running on the BuildBot CI pipeline. Because it contains no + // assertions we have nothing to gain by running it anyways + (void)[] { sf::WindowBase windowBase(sf::VideoMode({360, 240}), "WindowBase Tests"); @@ -211,5 +214,5 @@ TEST_CASE("[Window] sf::WindowBase", runDisplayTests()) // Should compile if user provides both a specific handler and a catch-all windowBase.handleEvents([](const sf::Event::Closed&) {}, [](const auto&) {}); - } + }; }