[lldb] Pass CMAKE_SYSROOT through to LLDB shell tests
authorDaniel Thornburgh <dthorn@google.com>
Tue, 23 May 2023 18:48:28 +0000 (11:48 -0700)
committerDaniel Thornburgh <dthorn@google.com>
Fri, 26 May 2023 18:30:33 +0000 (11:30 -0700)
commitb22965df1304a752af2724f7c2c3c58347532e71
tree563eac498cba6972edfa73ff5e041bca4ca862ef
parente892193cc8ff31e7357bfb5cd9e5a277e42cda9e
[lldb] Pass CMAKE_SYSROOT through to LLDB shell tests

This allows the LLDB Shell tests to succeed in (e.g. CI) environments where
system libraries are provided hermetically as a sysroot.

Reviewed By: JDevlieghere

Differential Revision: https://reviews.llvm.org/D151269
lldb/test/Shell/helper/build.py
lldb/test/Shell/helper/toolchain.py
lldb/test/Shell/lit.site.cfg.py.in