[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:46:03 PST 2014


I posted a proposed fix for this, please take a look.

http://reviews.llvm.org/D6484

On Tue Dec 02 2014 at 11:37:45 AM Zachary Turner <zturner at google.com> wrote:

> ================
> 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
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20141202/667ac9a3/attachment.html>


More information about the lldb-commits mailing list