Skip to content

Commit

Permalink
Adjust therm_system test
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Carroll <michael@openrobotics.org>
  • Loading branch information
mjcarroll committed Nov 4, 2022
1 parent b5146e1 commit be1128f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/integration/thermal_system.cc
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ TEST_F(ThermalTest, GZ_UTILS_TEST_DISABLED_ON_MAC(TemperatureComponent))
{
// Start server
ServerConfig serverConfig;
serverConfig.SetSdfFile(std::string(PROJECT_SOURCE_PATH) +
"/test/worlds/thermal.sdf");
serverConfig.SetSdfFile(common::joinPaths(PROJECT_BINARY_PATH,
"test", "worlds", "thermal.sdf"));

Server server(serverConfig);
EXPECT_FALSE(server.Running());
Expand Down Expand Up @@ -177,8 +177,8 @@ TEST_F(ThermalTest, GZ_UTILS_TEST_DISABLED_ON_MAC(ThermalSensorSystem))
{
// Start server
ServerConfig serverConfig;
serverConfig.SetSdfFile(common::joinPaths(PROJECT_SOURCE_PATH,
"test/worlds/thermal.sdf"));
serverConfig.SetSdfFile(common::joinPaths(PROJECT_BINARY_PATH,
"test", "worlds", "thermal.sdf"));

Server server(serverConfig);
EXPECT_FALSE(server.Running());
Expand Down

0 comments on commit be1128f

Please sign in to comment.