Skip to content

Commit

Permalink
Fix gz_TEST paths (gazebosim#1675)
Browse files Browse the repository at this point in the history
Signed-off-by: Nate Koenig <[email protected]>

Signed-off-by: Nate Koenig <[email protected]>
Co-authored-by: Nate Koenig <[email protected]>
  • Loading branch information
nkoenig and Nate Koenig authored Aug 30, 2022
1 parent 6be61c8 commit 31a2423
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/gz_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ static const std::string kGzModelCommand(
/////////////////////////////////////////////////
std::string customExecStr(std::string _cmd)
{
// Augment the system plugin path.
gz::common::setenv("GZ_SIM_SYSTEM_PLUGIN_PATH",
gz::common::joinPaths(std::string(PROJECT_BINARY_PATH), "lib").c_str());

_cmd += " 2>&1";
FILE *pipe = popen(_cmd.c_str(), "r");

Expand Down

0 comments on commit 31a2423

Please sign in to comment.