Details
-
Type:
Suggestion
-
Status: Reported
-
Priority:
P3: Somewhat important
-
Resolution: Unresolved
-
Affects Version/s: 6.3
-
Fix Version/s: None
-
Component/s: Build System: CMake, Testing: qtestlib
-
Labels:None
-
Platform/s:
Description
The following two issues disabled automatic backtrace collection on arm macOS machines when tests crash due to some issue in lldb.
https://codereview.qt-project.org/c/qt/qtbase/+/360645
https://codereview.qt-project.org/c/qt/qtbase/+/350650
As an alternative, we could detect if the result variable of a test launch resulted in a SIGTRAP signal and relaunch the test executable with lldb attached to it.
https://codereview.qt-project.org/c/qt/qtbase/+/387122/1//COMMIT_MSG#15
https://github.com/qt/qtbase/blob/dev/cmake/QtTestHelpers.cmake#L578