Skip to content

Commit

Permalink
fix: skip message not showing on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Thyodas committed Feb 18, 2025
1 parent 6cfbdb4 commit 2acafe9
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions tests/engine/layer/LayerStack.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ namespace nexo::layer {
TEST(LayerStackTest, PopLayer) {
#ifdef _WIN32
// TODO: fix test (see #100)
GTEST_SKIP_("Test crashes on the CI on Windows, skipping for now.");
GTEST_SKIP() << "Test crashes on the CI on Windows, skipping for now.";
#endif
LayerStack stack;
auto layer = std::make_shared<MockLayer>("Layer1", 1);
Expand All @@ -49,7 +49,7 @@ namespace nexo::layer {
TEST(LayerStackTest, PopOverlay) {
#ifdef _WIN32
// TODO: fix test (see #100)
GTEST_SKIP_("Test crashes on the CI on Windows, skipping for now.");
GTEST_SKIP() << "Test crashes on the CI on Windows, skipping for now.";
#endif
LayerStack stack;
auto overlay = std::make_shared<MockLayer>("Overlay1", 2);
Expand Down Expand Up @@ -120,7 +120,7 @@ namespace nexo::layer {
TEST(LayerStackTest, RemoveLayerAndOverlayOrder) {
#ifdef _WIN32
// TODO: fix test (see #100)
GTEST_SKIP_("Test crashes on the CI on Windows, skipping for now.");
GTEST_SKIP() << "Test crashes on the CI on Windows, skipping for now.";
#endif
LayerStack stack;
auto layer = std::make_shared<MockLayer>("Layer", 1);
Expand Down Expand Up @@ -167,7 +167,7 @@ namespace nexo::layer {
TEST(LayerStackTest, RemoveLayersAndOverlaysInRandomOrder) {
#ifdef _WIN32
// TODO: fix test (see #100)
GTEST_SKIP_("Test crashes on the CI on Windows, skipping for now.");
GTEST_SKIP() << "Test crashes on the CI on Windows, skipping for now.";
#endif
LayerStack stack;

Expand Down
4 changes: 2 additions & 2 deletions tests/engine/scene/Scene.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ namespace nexo::scene {
TEST_F(SceneTest, AddAndRemoveLayers) {
#ifdef _WIN32
// TODO: fix test (see #100)
GTEST_SKIP_("Test crashes on the CI on Windows, skipping for now.");
GTEST_SKIP() << "Test crashes on the CI on Windows, skipping for now.";
#endif
scene->addLayer(1, "Layer1");
scene->addLayer(2, "Layer2");
Expand All @@ -92,7 +92,7 @@ namespace nexo::scene {
TEST_F(SceneTest, AddAndRemoveOverlays) {
#ifdef _WIN32
// TODO: fix test (see #100)
GTEST_SKIP_("Test crashes on the CI on Windows, skipping for now.");
GTEST_SKIP() << "Test crashes on the CI on Windows, skipping for now.";
#endif
scene->addOverlay(1, "Overlay1");
scene->addOverlay(2, "Overlay2");
Expand Down
2 changes: 1 addition & 1 deletion tests/engine/scene/SceneManager.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ namespace nexo::scene {
TEST_F(SceneManagerTest, AddAndRemoveLayersAndOverlays) {
#ifdef _WIN32
// TODO: fix test (see #100)
GTEST_SKIP_("Test crashes on the CI on Windows, skipping for now.");
GTEST_SKIP() << "Test crashes on the CI on Windows, skipping for now.";
#endif
SceneId scene = sceneManager->createScene("Main Scene");

Expand Down
6 changes: 3 additions & 3 deletions tests/renderer/Framebuffer.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ namespace nexo::renderer {
{
#ifdef _WIN32
// TODO: fix test (see #99)
GTEST_SKIP_("This test infinitely loops on the CI on Windows, skipping for now.");
GTEST_SKIP() << "This test infinitely loops on the CI on Windows, skipping for now.";
#endif
// Create a small framebuffer with one color attachment.
FramebufferSpecs specs;
Expand All @@ -308,7 +308,7 @@ namespace nexo::renderer {
{
#ifdef _WIN32
// TODO: fix test (see #99)
GTEST_SKIP_("This test infinitely loops on the CI on Windows, skipping for now.");
GTEST_SKIP() << "This test infinitely loops on the CI on Windows, skipping for now.";
#endif
// Verify that getPixelWrapper throws when provided with a type other than int.
FramebufferSpecs specs;
Expand All @@ -331,7 +331,7 @@ namespace nexo::renderer {
{
#ifdef _WIN32
// TODO: fix test (see #99)
GTEST_SKIP_("This test infinitely loops on the CI on Windows, skipping for now.");
GTEST_SKIP() << "This test infinitely loops on the CI on Windows, skipping for now.";
#endif
// Verify that getPixelWrapper throws if the attachment index is out of bounds.
FramebufferSpecs specs;
Expand Down

0 comments on commit 2acafe9

Please sign in to comment.