[all-commits] [llvm/llvm-project] 3afe29: [test][lldb-vscode] Relax assertion to allow multi...

Jordan Rupprecht via All-commits all-commits at lists.llvm.org
Thu Dec 22 05:19:44 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3afe296c81b93473c1e5008514d6225a2200ad19
      https://github.com/llvm/llvm-project/commit/3afe296c81b93473c1e5008514d6225a2200ad19
  Author: Jordan Rupprecht <rupprecht at google.com>
  Date:   2022-12-22 (Thu, 22 Dec 2022)

  Changed paths:
    M lldb/test/API/tools/lldb-vscode/module/TestVSCode_module.py

  Log Message:
  -----------
  [test][lldb-vscode] Relax assertion to allow multiple compile units returned.

I don't think the intent of this test is to make sure we only have one compile unit; it's to make sure request_compileUnits returns something sensible. Relax the test case to just make sure that the main source file is one of the compile units returned, even if there are others.

Fixes llvm.org/pr49418.

Reviewed By: labath

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




More information about the All-commits mailing list