[Lldb-commits] [lldb] [lldb][test] Support remote run of Shell tests (PR #95986)
Vladislav Dzhidzhoev via lldb-commits
lldb-commits at lists.llvm.org
Thu Aug 1 06:48:39 PDT 2024
dzhidzhoev wrote:
> Ok I see what `LLDB_SHELL_TESTS_DISABLE_REMOTE` does but I don't get why. Perhaps you can show how a developer would:
>
> * Hit the problem that this option addresses
> * Apply the option
> * What problems it would solve and what that final build looks like
> * What the value of the results of that build are to the developer
For example:
1. A developer uses gcc to cross-compile lldb and run remote testing.
2. API tests pass because Makefile.rules provides the ability to use different compilers/adjusts all necessary flags.
3. Shell tests fail for some reason (--sysroot is not enough or not provided/some tests use clang-specific flags/etc). The developer thinks that it's sufficient for them to get away with Shell tests running only for the host platform.
4. LLDB_SHELL_TESTS_DISABLE_REMOTE is set to on.
5. Shell tests are compiled and run locally => tests are green.
https://github.com/llvm/llvm-project/pull/95986
More information about the lldb-commits
mailing list