[Lldb-commits] [PATCH] Fix several test failures on Linux/FreeBSD caused by compiler configuration and invalid environment

Zachary Turner zturner at google.com
Tue Dec 2 11:37:40 PST 2014


================
Comment at: test/lldbtest.py:747-750
@@ +746,6 @@
+        # Set platform context.
+        if sys.platform.startswith('darwin'):
+            cls.platformContext = _PlatformContext('DYLD_LIBRARY_PATH', 'lib', 'dylib')
+        elif sys.platform.startswith('linux') or sys.platform.startswith('freebsd'):
+            cls.platformContext = _PlatformContext('LD_LIBRARY_PATH', 'lib', 'so')
+
----------------
This breaks windows because a platformContext is not set for Windows.  Do you have suggestions on how to fix this for Windows?  Perhaps a default implementation that does nothing?

http://reviews.llvm.org/D6392






More information about the lldb-commits mailing list