mirror of
https://github.com/SFML/SFML.git
synced 2024-11-25 04:41:05 +08:00
Stop running tests that sometimes hang indefinitely
This commit is contained in:
parent
7083b6562e
commit
b4c7e4a890
@ -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&) {});
|
||||
}
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user