[all-commits] [llvm/llvm-project] 32e90b: [lldb][test] Support remote run of Shell tests (#9...

Vladislav Dzhidzhoev via All-commits all-commits at lists.llvm.org
Mon Oct 7 11:31:54 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 32e90bbe579d39356ebd269158b1b5eef82761d4
      https://github.com/llvm/llvm-project/commit/32e90bbe579d39356ebd269158b1b5eef82761d4
  Author: Vladislav Dzhidzhoev <vdzhidzhoev at accesssoftek.com>
  Date:   2024-10-07 (Mon, 07 Oct 2024)

  Changed paths:
    M lldb/docs/resources/test.rst
    M lldb/test/API/lit.cfg.py
    M lldb/test/API/lit.site.cfg.py.in
    M lldb/test/CMakeLists.txt
    M lldb/test/Shell/Expr/TestIRMemoryMap.test
    M lldb/test/Shell/Settings/TestEchoCommands.test
    A lldb/test/Shell/Settings/TestEchoCommandsQuiet.test
    M lldb/test/Shell/Target/target-label.test
    M lldb/test/Shell/helper/toolchain.py
    M lldb/test/Shell/lit.cfg.py
    M lldb/test/Shell/lit.site.cfg.py.in

  Log Message:
  -----------
  [lldb][test] Support remote run of Shell tests (#95986)

1. This commit adds LLDB_TEST_PLATFORM_URL, LLDB_TEST_SYSROOT,
LLDB_TEST_PLATFORM_WORKING_DIR, LLDB_SHELL_TESTS_DISABLE_REMOTE cmake
flags to pass arguments for cross-compilation and remote running of both Shell&API tests.
2. To run Shell tests remotely, it adds 'platform select' and 'platform connect' commands to %lldb
substitution.
3. 'remote-linux' feature added to lit to disable tests failing with
remote execution.
4. A separate working directory is assigned to each test to avoid
conflicts during parallel test execution.
5. Remote Shell testing is run only when LLDB_TEST_SYSROOT is set for
building test sources. The recommended compiler for that is Clang.

---------

Co-authored-by: Vladimir Vereschaka <vvereschaka at accesssoftek.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list