[all-commits] [llvm/llvm-project] a2670b: Fix a bug in lldb-dotest that was uncovered by set...

jimingham via All-commits all-commits at lists.llvm.org
Wed Aug 31 18:03:20 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a2670b92a2542a9bb889db81ba0cf5a21b3240ee
      https://github.com/llvm/llvm-project/commit/a2670b92a2542a9bb889db81ba0cf5a21b3240ee
  Author: Jim Ingham <jingham at apple.com>
  Date:   2022-08-31 (Wed, 31 Aug 2022)

  Changed paths:
    M lldb/utils/lldb-dotest/lldb-dotest.in

  Log Message:
  -----------
  Fix a bug in lldb-dotest that was uncovered by setting no value for dotest_args_str.
We were splitting the string, and adding that array to cmd.  But split generated
[''] which shows up later on as an empty "test directory search path".  That got
extended to the CWD + "" which generally doesn't have any tests, so

lldb-dotest -p SomeRealTest.py

would fail with a no matching tests error.

Differential Revision: https://reviews.llvm.org/D133075




More information about the All-commits mailing list