summaryrefslogtreecommitdiff
path: root/lldb/test/API/commands/gui/basicdebug/TestGuiBasicDebug.py
AgeCommit message (Collapse)Author
2023-05-25[NFC][Py Reformat] Reformat python files in lldbJonas Devlieghere
This is an ongoing series of commits that are reformatting our Python code. Reformatting is done with `black` (23.1.0). If you end up having problems merging this commit because you have made changes to a python file, the best way to handle that is to run `git checkout --ours <yourfile>` and then reformat it with black. RFC: https://discourse.llvm.org/t/rfc-document-and-standardize-python-code-style Differential revision: https://reviews.llvm.org/D151460
2022-06-17[lldb][tests] Automatically call compute_mydir (NFC)Dave Lee
Eliminate boilerplate of having each test manually assign to `mydir` by calling `compute_mydir` in lldbtest.py. Differential Revision: https://reviews.llvm.org/D128077
2022-04-05[lldb][gui] make 'step out' step out of the selected frameLuboš Luňák
Differential Revision: https://reviews.llvm.org/D123001
2022-04-05[lldb][gui] do not show the help window on first gui startupLuboš Luňák
It's rather annoying if it's there after every startup, and that 'Help (F6)' at the top should be enough to help people who don't know. Differential Revision: https://reviews.llvm.org/D122997
2021-09-13[lldb] Skip TestGuiBasicDebug due to pr51833Pavel Labath
2021-07-28[LLDB] Skip TestGuiBasicDebug.py on Arm/AArch64 LinuxMuhammad Omair Javaid
TestGuiBasicDebug.py randomly fails due to timeouts sending out false negatives on LLDB Arm and AArch64 Linux buildbots. I havnt found a reliable wayy to set pexpect timeout for this test to pass regularly. Skipping it on Arm and AArch64 Linux to silence buildbot failures.
2021-07-27[lldb] Wait in TestGuiBasicDebug for the interface to open before quitting ↵Raphael Isemann
the welcome screen Speculative fix for the failing lldb-aarch64-ubuntu bot.
2021-02-08[lldb/tests] Un-skip TestGuiBasicDebug.py on Arm and AArch64Tatyana Krasnukha
The test was timing out because of https://reviews.llvm.org/D92164, it should pass now.
2020-12-16[LLDB] Skip TestGuiBasicDebug.py on Arm and AArch64/LinuxMuhammad Omair Javaid
TestGuiBasicDebug.py is intermittenly timing out on LLDB AArch64/Linux buildbot. Putting SkipIf decorator untill root cuase is identified.
2020-12-16Revert "[LLDB] Remove AArch64/Linux xfail decorator from TestGuiBasicDebug"Muhammad Omair Javaid
This reverts commit 3d27a99b2ed24e1951483cf13357ec188ad44bb0.
2020-10-01[LLDB] Remove AArch64/Linux xfail decorator from TestGuiBasicDebugMuhammad Omair Javaid
This test now passes on AArch64/Linux after following change by Jonas: d689570d7dcb16ee241676e22324dc456837eb23
2020-09-30[lldb] Make TestGuiBasicDebug more lenientJonas Devlieghere
Matt's change to the register allocator in 89baeaef2fa9 changed where we end up after the `finish`. Before we'd end up on line 4. * thread #1, queue = 'com.apple.main-thread', stop reason = step out Return value: (int) $0 = 1 frame #0: 0x0000000100003f7d a.out`main(argc=1, argv=0x00007ffeefbff630) at main.c:4:3 1 extern int func(); 2 3 int main(int argc, char **argv) { -> 4 func(); // Break here 5 func(); // Second 6 return 0; 7 } Now, we end up on line 5. * thread #1, queue = 'com.apple.main-thread', stop reason = step out Return value: (int) $0 = 1 frame #0: 0x0000000100003f8d a.out`main(argc=1, argv=0x00007ffeefbff630) at main.c:5:3 2 3 int main(int argc, char **argv) { 4 func(); // Break here -> 5 func(); // Second 6 return 0; 7 } Given that this is not expected stable to be stable I've made the test a bit more lenient to accept both scenarios.
2020-08-05[lldb] Modify the `skipIfRemote` decorator so we can skip all PExpect tests.Jonas Devlieghere
This patch modifies the skipIfRemote decorator so it can apply to a whole class, which allows us to skip all PExpect tests as a whole. Differential revision: https://reviews.llvm.org/D85365
2020-08-05[lldb] expect TestGuiBasicDebug.py failure on aarch64Luboš Luňák
http://lab.llvm.org:8011/builders/lldb-aarch64-ubuntu/builds/7287/steps/test/logs/stdio fails, and the output suggests that gui 'finish' (='thread step-out') is broken on aarch64.
2020-08-05[lldb][gui] move TestGuiBasicDebug.py to lldb/test and update itLuboš Luňák
Between the time it was created and it was pushed upstream, 99451b4453688a94c6014cac233d371ab4cc342d has moved the existing gui gui tests to lldb/test, so move this one too. And update it to contain TestGuiBasic.py changes since the time when it was based on that test. Differential Revision: https://reviews.llvm.org/D85106