Skip to content

Commit 3bbb7e4

Browse files
committed
Test should not fail, it should skip
1 parent 3f8263e commit 3bbb7e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_rtde_client.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -383,8 +383,8 @@ TEST_F(RTDEClientTest, check_all_rtde_output_variables_exist)
383383

384384
if (env != "latest")
385385
{
386-
std::cout << "Incorrect URSIM version, it should be the latest version, version is: " << env << std::endl;
387-
GTEST_FAIL();
386+
std::cout << "Not using the latest URSIM version, skipping test." << std::endl;
387+
GTEST_SKIP();
388388
}
389389

390390
// Ignore unknown output variables to account for variables not available in old urcontrol versions.

0 commit comments

Comments
 (0)