Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
Qt Creator 8.0.2, Qt Creator 9.0.0-rc1
-
None
-
-
c210ffb2d6 (qt-creator/qt-creator/9.0) c210ffb2d6 (qt-creator/qt-creator/master)
Description
After a fresh windows installation and qt installation I got Qt creator 8.02 and 9.0.0-rc1 installed.
In both of them I noticed an odd behaviour when I choose to debug a single unit test with google test.
In those cases (filters are applied to the gtest call), the filters seem to match no tests. And thus no tests get executed.
I compared with the behaviour in qt creator 7.0.0, what I used to use prior to reinstalling. The application output shows a difference in how the command line to call the test binary is quoted:
7.0.0 11:27:05: Debugging <project_path>\tests\unit_tests\debug\unit_testsd.exe "--gtest_filter=MyFilteredTestCase/*.*" "--gtest_catch_exceptions=0" ... 9.0.0-rc1 11:41:03: Debugging <project_path>\tests\unit_tests\debug\unit_testsd.exe "--gtest_filter="\""MyFilteredTestCase/*.*"\""" "--gtest_catch_exceptions=0" ... 8.0.2 11:31:24: Debugging <project_path>\tests\unit_tests\debug\unit_testsd.exe "--gtest_filter="\""MyFilteredTestCase/*.*"\""" "--gtest_catch_exceptions=0" ...
Attachments
Issue Links
- is duplicated by
-
QTCREATORBUG-28542 Google Test Debugger does not attach (Windows, msvc)
- Closed
-
QTCREATORBUG-28576 Debug Test Under Cursor does not run the test
- Closed