[all-commits] [llvm/llvm-project] 683590: [lldb] config.test_exec_root is set by lit.cfg.py

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Mon Mar 22 14:37:04 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 683590a203004df0e395824be6f2408a952a424e
      https://github.com/llvm/llvm-project/commit/683590a203004df0e395824be6f2408a952a424e
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2021-03-22 (Mon, 22 Mar 2021)

  Changed paths:
    M lldb/test/API/lit.site.cfg.py.in
    M lldb/test/Unit/lit.site.cfg.py.in
    M lldb/test/lit.site.cfg.py.in

  Log Message:
  -----------
  [lldb] config.test_exec_root is set by lit.cfg.py

Don't configure `test_exec_root` in lit.site.cfg.py. It always gets
overwritten by lit.cfg.py based on `lldb_obj_root`.


  Commit: eb26afbafe8b6fb115aac7f5e7ba80edc32138ab
      https://github.com/llvm/llvm-project/commit/eb26afbafe8b6fb115aac7f5e7ba80edc32138ab
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2021-03-22 (Mon, 22 Mar 2021)

  Changed paths:
    M lldb/test/API/CMakeLists.txt
    M lldb/test/CMakeLists.txt
    M lldb/test/Shell/CMakeLists.txt
    M lldb/test/Unit/CMakeLists.txt
    M lldb/unittests/CMakeLists.txt

  Log Message:
  -----------
  Re-land "[lldb] Make the API, Shell and Unit tests independent lit test suites"

The commit got reverted because the tests were being run twice because
of the overlapping test_exec_root. Pavel has since fixed that in
8248dd91d7f042893d4a605e98d19cb1b89a44d4.


Compare: https://github.com/llvm/llvm-project/compare/1e337b1dd903...eb26afbafe8b


More information about the All-commits mailing list