Skip to content

Commit f8b3eda

Browse files
author
Addisu Z. Taddese
authored
Disable tests that require dartsim on windows (#1840)
The dartsim component of gz-physics is currently not built on CI, so these tests should be disabled. Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
1 parent 828470c commit f8b3eda

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

test/integration/hydrodynamics.cc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ std::vector<math::Vector3d> HydrodynamicsTest::TestWorld(
112112
/////////////////////////////////////////////////
113113
/// This test evaluates whether the hydrodynamic plugin affects the motion
114114
/// of the body when a force is applied.
115-
TEST_F(HydrodynamicsTest, VelocityTestinOil)
115+
TEST_F(HydrodynamicsTest, IGN_UTILS_TEST_DISABLED_ON_WIN32(VelocityTestinOil))
116116
{
117117
auto world = common::joinPaths(std::string(PROJECT_SOURCE_PATH),
118118
"test", "worlds", "hydrodynamics.sdf");
@@ -153,7 +153,8 @@ TEST_F(HydrodynamicsTest, VelocityTestinOil)
153153
/// This test makes sure that the transforms of the hydrodynamics
154154
/// plugin are correct by comparing 3 cylinders in different
155155
/// positions and orientations.
156-
TEST_F(HydrodynamicsTest, TransformsTestinWater)
156+
TEST_F(HydrodynamicsTest,
157+
IGN_UTILS_TEST_DISABLED_ON_WIN32(TransformsTestinWater))
157158
{
158159
auto world = common::joinPaths(std::string(PROJECT_SOURCE_PATH),
159160
"test", "worlds", "hydrodynamics.sdf");

test/integration/hydrodynamics_flags.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,8 @@ void HydrodynamicsFlagsTest::TestWorld(const std::string &_world,
119119
/////////////////////////////////////////////////
120120
/// This test makes sure that the linear velocity is reuduced
121121
/// disbling the coriolis force and also when disabling the added mass.
122-
TEST_F(HydrodynamicsFlagsTest, AddedMassCoriolisFlags)
122+
TEST_F(HydrodynamicsFlagsTest,
123+
IGN_UTILS_TEST_DISABLED_ON_WIN32(AddedMassCoriolisFlags))
123124
{
124125
auto world = common::joinPaths(std::string(PROJECT_SOURCE_PATH),
125126
"test", "worlds", "hydrodynamics_flags.sdf");

0 commit comments

Comments
 (0)