Skip to content

Commit 331ea53

Browse files
committed
Fix test file path in fixed_joint_reduction.cc
Signed-off-by: Steve Peters <scpeters@openrobotics.org>
1 parent 29f1370 commit 331ea53

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

test/integration/fixed_joint_reduction.cc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ const char SDF_TEST_FILE_COLLISION_VISUAL_EXTENSION_EMPTY_ROOT[] =
3636
"fixed_joint_reduction_collision_visual_empty_root.urdf";
3737
const char SDF_TEST_FILE_COLLISION_VISUAL_EXTENSION_EMPTY_ROOT_SDF[] =
3838
"fixed_joint_reduction_collision_visual_empty_root.sdf";
39+
const char SDF_TEST_FILE_PLUGIN_FRAME_EXTENSION[] =
40+
"fixed_joint_reduction_plugin_frame_extension.urdf";
3941

4042
static std::string GetFullTestFilePath(const char *_input)
4143
{
@@ -744,7 +746,9 @@ TEST(SDFParser, FixedJointReductionPluginFrameExtensionTest)
744746
{
745747
sdf::SDFPtr robot(new sdf::SDF());
746748
sdf::init(robot);
747-
ASSERT_TRUE(sdf::readFile(SDF_TEST_FILE_PLUGIN_FRAME_EXTENSION, robot));
749+
ASSERT_TRUE(sdf::readFile(
750+
GetFullTestFilePath(SDF_TEST_FILE_PLUGIN_FRAME_EXTENSION),
751+
robot));
748752

749753
sdf::ElementPtr model = robot->Root()->GetElement("model");
750754
sdf::ElementPtr plugin = model->GetElement("plugin");

0 commit comments

Comments
 (0)