Skip to content

Commit

Permalink
Attempt in fixing OSX tests failure.
Browse files Browse the repository at this point in the history
  • Loading branch information
lanierd-adsk committed Feb 22, 2024
1 parent 3c50e94 commit 04804dd
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions test/lib/mayaUsd/render/mayaToHydra/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ foreach(script ${TEST_SCRIPT_FILES})
PYTHON_MODULE ${target}
ENV
"MAYA_PLUG_IN_PATH=${CMAKE_INSTALL_PREFIX}/lib/maya"
"LD_LIBRARY_PATH=${ADDITIONAL_LD_LIBRARY_PATH}"
"LD_LIBRARY_PATH=${ADDITIONAL_LD_LIBRARY_PATH}" #Linux
"DYLD_LIBRARY_PATH=${ADDITIONAL_LD_LIBRARY_PATH}" #OSX
"IMAGE_DIFF_TOOL=${IMAGE_DIFF_TOOL}"

# LD_LIBRARY_PATH needs to be set for the idiff executable because its
Expand Down Expand Up @@ -99,7 +100,8 @@ foreach(script ${INTERACTIVE_TEST_SCRIPT_FILES_MESH_ADAPTER})
PYTHON_SCRIPT ${script}
ENV
"MAYA_PLUG_IN_PATH=${CMAKE_INSTALL_PREFIX}/lib/maya"
"LD_LIBRARY_PATH=${ADDITIONAL_LD_LIBRARY_PATH}"
"LD_LIBRARY_PATH=${ADDITIONAL_LD_LIBRARY_PATH}" #Linux
"DYLD_LIBRARY_PATH=${ADDITIONAL_LD_LIBRARY_PATH}" #OSX

"LD_PRELOAD=${ADDITIONAL_LD_PRELOAD}"

Expand All @@ -123,7 +125,8 @@ foreach(script ${INTERACTIVE_TEST_SCRIPT_FILES})
PYTHON_SCRIPT ${script}
ENV
"MAYA_PLUG_IN_PATH=${CMAKE_INSTALL_PREFIX}/lib/maya"
"LD_LIBRARY_PATH=${ADDITIONAL_LD_LIBRARY_PATH}"
"LD_LIBRARY_PATH=${ADDITIONAL_LD_LIBRARY_PATH}" #Linux
"DYLD_LIBRARY_PATH=${ADDITIONAL_LD_LIBRARY_PATH}" #OSX
"IMAGE_DIFF_TOOL=${IMAGE_DIFF_TOOL}"

# LD_LIBRARY_PATH needs to be set for the idiff executable because its
Expand Down

0 comments on commit 04804dd

Please sign in to comment.