mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +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));
|
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");
|
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
|
// Should compile if user provides both a specific handler and a catch-all
|
||||||
windowBase.handleEvents([](const sf::Event::Closed&) {}, [](const auto&) {});
|
windowBase.handleEvents([](const sf::Event::Closed&) {}, [](const auto&) {});
|
||||||
}
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user