- Fix string handling in LLDB formatters. It was broken after LLDB 4.0 released.
- Fix failing GDB unittests due to changes in debuggees.
- Mark a few LLDB tests as expected fail due to LLDB bugs.
Details
- Reviewers
kfunk - Group Reviewers
KDevelop - Commits
- R32:2162175425e8: Fix GDB/LLDB unittests.
No failing tests any more, at least on my box. I'm not familiar with the current CI setup yet.
If these tests still fail on CI I'll see what I can do to improve the reliability.
Diff Detail
- Repository
- R32 KDevelop
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Unfortunately the CI still doesn't seem overly happy:
https://build.kde.org/view/KDevelop/job/KDevelop%20kdevelop%20kf5-qt5%20XenialQt5.7/lastCompletedBuild/testReport/
:(
@kfunk
Hmm, it seems kdevelop tries to popup an error or something for lldb tests. Maybe due to unsupported lldb version?
For gdb things is more interesting... For some reason the debuggee stopped right after starting, thus the timeout:
QWARN : KDevMI::GDB::GdbTest::testStdOut() current state 5 waiting for 6 QWARN : KDevMI::GDB::GdbTest::testBreakpoint() current state 5 waiting for 3
(state 5 is StoppedState)
gdb printer tests are also failed for the same reason:
QDEBUG : QtPrintersTest::testQString() "run" = "Starting program: /home/jenkins/workspace/KDevelop kdevelop kf5-qt5 XenialQt5.7/build/debuggers/common/tests/debuggees/debuggee_qstring \nDuring startup program exited normally."
I'll look into this. BTW, do you know how I can get a shell into the CI environment? Or otherwise anyway I can easily test code changes on CI like making it build another branch?