Просмотр исходного кода

try an additional CI gtest filter...

AzaezelX 2 лет назад
Родитель
Сommit
dc1c1b6c0d
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      Engine/source/windowManager/test/windowManagerTest.cpp

+ 3 - 1
Engine/source/windowManager/test/windowManagerTest.cpp

@@ -31,6 +31,8 @@ TEST(WinMgr, BasicAPI)
 
    // Check out the primary desktop area...
    RectI primary = pwm->getPrimaryDesktopArea();
+   EXPECT_TRUE(pwm)
+      << "no monitor to test against!";
 
    EXPECT_TRUE(primary.isValidRect())
       << "Got some sort of invalid rect from the window manager!";
@@ -55,4 +57,4 @@ TEST(WinMgr, BasicAPI)
    // No way to destroy the window manager.
 };
 
-#endif
+#endif