From 31a2423eea37454ca63c60a625ff13742e25b478 Mon Sep 17 00:00:00 2001 From: Nate Koenig Date: Tue, 30 Aug 2022 05:13:45 -0700 Subject: [PATCH] Fix gz_TEST paths (#1675) Signed-off-by: Nate Koenig Signed-off-by: Nate Koenig Co-authored-by: Nate Koenig --- src/gz_TEST.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gz_TEST.cc b/src/gz_TEST.cc index 633b837ad8..5d066343b5 100644 --- a/src/gz_TEST.cc +++ b/src/gz_TEST.cc @@ -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");