Stop running tests that sometimes hang indefinitely

This commit is contained in:
Chris Thrasher 2024-07-17 16:22:37 -06:00
parent 7083b6562e
commit b4c7e4a890

View File

@ -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&) {});
}
};
}