Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
Qt Creator 10.0.2
-
None
-
-
397cd1ba3 (11.0)
Description
Steps to reproduce:
- Enable AutoTest plugin
- Enable only CTest framework in Preferences->Testing
- Enable Automatically run: All (may not strictly be required)
- Open a CMake-based project that has unit tests
- Build with any kit (A), tests run automatically
- Switch to a different kit (B)
- Build again, tests run automatically
Expected: CTest runs tests in B's build dir
Actual: CTtest runs tests in A's build dir
As you use more kits and builds, there is some strange pattern of a different previous kit/build used.
If previous kits/builds are disabled/deleted, then eventually the current kit and build will be run.
PS. Also note that when I switch from CTest to Google Test integration, the correct tests are run. Switching back to CTest again does not fix the problem.
Attachments
For Gerrit Dashboard: QTCREATORBUG-29477 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
497021,2 | AutoTest: Fix using target information after kit change | 11.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |