[lldb][tests] Automatically call compute_mydir (NFC)Eliminate boilerplate of having each test manually assign to `mydir` by calling`compute_mydir` in lldbtest.py.Differential Revision: https://r
[lldb][tests] Automatically call compute_mydir (NFC)Eliminate boilerplate of having each test manually assign to `mydir` by calling`compute_mydir` in lldbtest.py.Differential Revision: https://reviews.llvm.org/D128077
show more ...
[lldb] [test] Update baseline test status for FreeBSDFixes #19721Fixes #18440Partially fixes bug #47660Fixes #47761Fixes #47763Sponsored by: The FreeBSD Foundation
[lldb] Don't save empty expressions in the multiline editor historyRight now running `expr` to start the multiline expression editor and thenpressing enter causes an empty history empty to be crea
[lldb] Don't save empty expressions in the multiline editor historyRight now running `expr` to start the multiline expression editor and thenpressing enter causes an empty history empty to be created for the multilineeditor. That doesn't seem very useful for users as pressing the 'up' key willnow also bring up these empty expressions.I don't think there is ever a use case for recalling a completely emptyexpression from the history, so instead don't save those entries to the historyfile and make sure we never recall them when navigating over the expressionhistory.Note: This is actually a Swift downstream patch that got shipped with Apple'sLLDB for many years. However, this recently started conflicting with upstreamLLDB as D100048 added a test that made sure that empty expression entries don'tcrash LLDB. Apple's LLDB was never affected by this crash as it never savedempty expressions in the first place.Reviewed By: augusto2112Differential Revision: https://reviews.llvm.org/D108983
[LLDB] Skip random fails on Arm/AArch64 Linux buildbotFollowing tests fail on Arm/AArch64 randomly with timeouts:TestMultilineNavigation.pyTestBatchMode.pyTestUnicode.pyTestGdbRemote_vContThre
[LLDB] Skip random fails on Arm/AArch64 Linux buildbotFollowing tests fail on Arm/AArch64 randomly with timeouts:TestMultilineNavigation.pyTestBatchMode.pyTestUnicode.pyTestGdbRemote_vContThreads.pyI am marking them as skipped until we find a away make to pass reliably.
[LLDB] Skip random failing tests on Arm/AArch64 Linux botsFollowing tests have been failing randomly on LLDB Arm and AArch64 Linuxbuiltbots:TestMultilineNavigation.pyTestMultilineCompletion.py
[LLDB] Skip random failing tests on Arm/AArch64 Linux botsFollowing tests have been failing randomly on LLDB Arm and AArch64 Linuxbuiltbots:TestMultilineNavigation.pyTestMultilineCompletion.pyTestIOHandlerCompletion.pyTestGuiBasic.pyI have increased allocated CPU resources to these bots but it has notimproved situation to an acceptable level. This patch marks them asskipped on Arm/AArch64 for now.
[lldb][Editline] Fix crash when navigating through empty command history.An empty history entry can happen by entering the expression evaluator an immediately hitting enter:```$ lldb(lldb) eEn
[lldb][Editline] Fix crash when navigating through empty command history.An empty history entry can happen by entering the expression evaluator an immediately hitting enter:```$ lldb(lldb) eEnter expressions, then terminate with an empty line to evaluate: 1: <hit enter>```The next time the user enters the expression evaluator, if they hit the up arrow to load the previous expression, lldb crashes. This patch treats empty history sessions as a single expression of zero length, instead of an empty list of expressions.Fixes http://llvm.org/PR49845.Differential Revision: https://reviews.llvm.org/D100048
[lldb] [test] Link FreeBSD test failures to bugsDifferential Revision: https://reviews.llvm.org/D92740
[lldb] [test] Update XFAILs/skips for FreeBSDUpdate expected failures and test skips based on common resultsfor the old and new FreeBSD plugins.
[lldb][test] Remove symlink for API tests.Summary: Moves lldbsuite tests to lldb/test/API.This is a largely mechanical change, moved with the following steps:```rm lldb/test/API/testcasesmkdi
[lldb][test] Remove symlink for API tests.Summary: Moves lldbsuite tests to lldb/test/API.This is a largely mechanical change, moved with the following steps:```rm lldb/test/API/testcasesmkdir -p lldb/test/API/{test_runner/test,tools/lldb-{server,vscode}}mv lldb/packages/Python/lldbsuite/test/test_runner/test lldb/test/API/test_runnerfor d in $(find lldb/packages/Python/lldbsuite/test/* -maxdepth 0 -type d | egrep -v "make|plugins|test_runner|tools"); do mv $d lldb/test/API; donefor d in $(find lldb/packages/Python/lldbsuite/test/tools/lldb-vscode -maxdepth 1 -mindepth 1 | grep -v ".py"); do mv $d lldb/test/API/tools/lldb-vscode; donefor d in $(find lldb/packages/Python/lldbsuite/test/tools/lldb-server -maxdepth 1 -mindepth 1 | egrep -v "gdbremote_testcase.py|lldbgdbserverutils.py|socket_packet_pump.py"); do mv $d lldb/test/API/tools/lldb-server; done```lldb/packages/Python/lldbsuite/__init__.py and lldb/test/API/lit.cfg.py were also updated with the new directory structure.Reviewers: labath, JDevlieghereTags: #lldbDifferential Revision: https://reviews.llvm.org/D71151