[all-commits] [llvm/llvm-project] 88c183: [lldb] Fix TestDataFormatterGenericList

Pavel Labath via All-commits all-commits at lists.llvm.org
Wed Dec 8 04:44:05 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 88c183e978ed0aeaaf9d10d5b2554ba0244b372f
      https://github.com/llvm/llvm-project/commit/88c183e978ed0aeaaf9d10d5b2554ba0244b372f
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2021-12-08 (Wed, 08 Dec 2021)

  Changed paths:
    M lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/list/TestDataFormatterGenericList.py

  Log Message:
  -----------
  [lldb] Fix TestDataFormatterGenericList

Test is using "next" commands to make progress in the process. D115137
added an additional statement to the program, without adding a command
to step over it. This only seemed to matter for the libc++ flavour of
the test, possibly because libstdc++ list is "empty" in its
uninitialized state.

Since moving with step commands is a treacherous, this patch adds a
run-to-breakpoint command to the test. It only does this for the
affected step, but one may consider doing it elsewhere too.




More information about the All-commits mailing list