[lldb] Fix TestDataFormatterGenericList
authorPavel Labath <pavel@labath.sk>
Wed, 8 Dec 2021 12:38:35 +0000 (13:38 +0100)
committerPavel Labath <pavel@labath.sk>
Wed, 8 Dec 2021 12:38:35 +0000 (13:38 +0100)
commit88c183e978ed0aeaaf9d10d5b2554ba0244b372f
treee243b1823453ccc742fe47d998e3297e4ae21f8f
parent5ce0f876326168425eea37268721e7602094b6fc
[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.
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/list/TestDataFormatterGenericList.py