We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e22f9f commit 5924515Copy full SHA for 5924515
tests/systemtests.cpp
@@ -49,12 +49,24 @@ TEST_F(SystemTest, Exec)
49
50
TEST_F(SystemTest, InhibitSuspend)
51
{
52
+#ifdef __linux__
53
+ if(!Environment::getVariable("GITHUB_ACTIONS").empty())
54
+ {
55
+ GTEST_SKIP();
56
+ }
57
+#endif
58
ASSERT_TRUE(SystemTest::m_inhibitor->inhibit());
59
ASSERT_TRUE(SystemTest::m_inhibitor->isInhibiting());
60
}
61
62
TEST_F(SystemTest, UninhibitSuspend)
63
64
65
66
67
68
69
70
ASSERT_TRUE(SystemTest::m_inhibitor->uninhibit());
71
ASSERT_FALSE(SystemTest::m_inhibitor->isInhibiting());
72
0 commit comments