Skip to content

Commit

Permalink
tests: disable GetTemperature test for TestCPUInfo on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
lrusak committed Nov 7, 2019
1 parent 2cb3311 commit 4315778
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions xbmc/utils/test/TestCPUInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,11 @@ TEST_F(TestCPUInfo, GetCPUFrequency)
EXPECT_GE(CServiceBroker::GetCPUInfo()->GetCPUFrequency(), 0.f);
}

#if defined(TARGET_WINDOWS)
TEST_F(TestCPUInfo, DISABLED_GetTemperature)
#else
TEST_F(TestCPUInfo, GetTemperature)
#endif
{
CServiceBroker::GetSettingsComponent()->GetAdvancedSettings()->m_cpuTempCmd = "echo '50 c'";
CTemperature t;
Expand Down

0 comments on commit 4315778

Please sign in to comment.