summaryrefslogtreecommitdiff
path: root/auto_update_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'auto_update_tests.py')
-rwxr-xr-xauto_update_tests.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/auto_update_tests.py b/auto_update_tests.py
index d435dcdaf..8dac39faf 100755
--- a/auto_update_tests.py
+++ b/auto_update_tests.py
@@ -2,7 +2,11 @@
import os, sys, subprocess, difflib
-os.environ['LD_LIBRARY_PATH'] += os.pathsep + 'lib' # find our dynamic libraries
+# find our dynamic libraries
+if os.environ.get('LD_LIBRARY_PATH'):
+ os.environ['LD_LIBRARY_PATH'] += os.pathsep + 'lib'
+else:
+ os.environ['LD_LIBRARY_PATH'] = 'lib'
print '[ processing and updating testcases... ]\n'