Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 4.13.0-beta1
-
None
-
Ubuntu 18.04 LTS 64 bit
Qt 5.15 branch
clang 7.0.0
-
1133e26d3a2433a3ab51c735d3effad807838e2f (qt-creator/qt-creator/master)
Description
- Have a build of Qt with configure flags "-sanitize address" or "-sanitize undefined".
- Open the attached project and configure it to use that Qt.
- Run the project.
The sanitizers will report the problems in the Application Output view. - Clear the Application Output view.
- Run the tests from the Test Results view.
The view will neither report issues, nor will anything be written to the Application Output view. Creator will only write the issues to the calling command line.
This makes it easy to miss serious issues in the tested code. At least when the address sanitizer crashes the test, the Test Results view should make clear that there was something wrong. Writing output to the Application Output view might help as well.