Skip to content

Commit

Permalink
Improve environment specificity
Browse files Browse the repository at this point in the history
  • Loading branch information
lamyj committed Sep 29, 2023
1 parent 9d86c06 commit 04dedef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .ci/build/post_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
for name in ["DYLD_LIBRARY_PATH", "LD_LIBRARY_PATH"]:
environment[name] = os.pathsep.join([
lib_dir, *os.environ.get(name, "").split(os.pathsep)])
environment["PATH"] = os.pathsep.join([
bin_dir, *os.environ.get("PATH", "").split(os.pathsep)])
cpp_tests_return_code = subprocess.call(
["ctest"], cwd=build_dir, env=environment)

Expand Down

0 comments on commit 04dedef

Please sign in to comment.