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

Oleksiy Vyalov ovyalov at google.com
Mon Nov 24 13:05:37 PST 2014


Hi clayborg, emaste,

Fix several test failures on Linux/FreeBSD caused by compiler configuration and invalid environment:
1. TestSharedLib/TestSharedLibStrippedSymbols - set up explicit environment for target.LaunchSimple in case of Linux/FreeBSD.
2. Fix compiler version detection - since CC environment variable may contain flags along with binary (e.g. "clang -Qunused-arguments -fcolor-diagnostics") we need to extract CC binary to allow which(..) to deduce correctly a compiler's full path .

http://reviews.llvm.org/D6392

Files:
  test/lang/c/shared_lib/TestSharedLib.py
  test/lang/c/shared_lib_stripped_symbols/TestSharedLibStrippedSymbols.py
  test/lldbtest.py
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6392.16574.patch
Type: text/x-patch
Size: 5043 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20141124/feaee05a/attachment.bin>


More information about the lldb-commits mailing list