[Lldb-commits] [lldb] r190286 - Set shared library path on FreeBSD as on Linux for tests
Ed Maste
emaste at freebsd.org
Sun Sep 8 18:16:44 PDT 2013
Author: emaste
Date: Sun Sep 8 20:16:43 2013
New Revision: 190286
URL: http://llvm.org/viewvc/llvm-project?rev=190286&view=rev
Log:
Set shared library path on FreeBSD as on Linux for tests
Modified:
lldb/trunk/test/lang/c/global_variables/TestGlobalVariables.py
Modified: lldb/trunk/test/lang/c/global_variables/TestGlobalVariables.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/c/global_variables/TestGlobalVariables.py?rev=190286&r1=190285&r2=190286&view=diff
==============================================================================
--- lldb/trunk/test/lang/c/global_variables/TestGlobalVariables.py (original)
+++ lldb/trunk/test/lang/c/global_variables/TestGlobalVariables.py Sun Sep 8 20:16:43 2013
@@ -28,8 +28,8 @@ class GlobalVariablesTestCase(TestBase):
TestBase.setUp(self)
# Find the line number to break inside main().
self.line = line_number('main.c', '// Set break point at this line.')
- if sys.platform.startswith("linux"):
- # On Linux, LD_LIBRARY_PATH must be set so the shared libraries are found on startup
+ if sys.platform.startswith("freebsd") or sys.platform.startswith("linux"):
+ # LD_LIBRARY_PATH must be set so the shared libraries are found on startup
if "LD_LIBRARY_PATH" in os.environ:
self.runCmd("settings set target.env-vars " + self.dylibPath + "=" + os.environ["LD_LIBRARY_PATH"] + ":" + os.getcwd())
else:
More information about the lldb-commits
mailing list