diff options
Diffstat (limited to 'cpp/config/TestUtil.py')
-rw-r--r-- | cpp/config/TestUtil.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/config/TestUtil.py b/cpp/config/TestUtil.py index 24a464e0d94..20a5a8f6151 100644 --- a/cpp/config/TestUtil.py +++ b/cpp/config/TestUtil.py @@ -125,7 +125,9 @@ for toplevel in [".", "..", "../..", "../../..", "../../../.."]: else: raise "can't find toplevel directory!" -if not isWin32(): +if isWin32(): + os.environ["PATH"] = os.path.join(toplevel, "bin") + ";" + os.environ["PATH"] +else: os.environ["LD_LIBRARY_PATH"] = os.path.join(toplevel, "lib") + ":" + os.environ["LD_LIBRARY_PATH"] if protocol == "ssl": |