Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
6.4
-
None
-
-
479c95729a (qt/qtbase/dev) 479c95729a (qt/tqtc-qtbase/dev) 3044abb84e (qt/qtbase/6.3) 3044abb84e (qt/tqtc-qtbase/6.3) 3044abb84e (qt/qtbase/6.3.1) 3044abb84e (qt/tqtc-qtbase/6.3.1) 9dab082d7d (qt/tqtc-qtbase/6.2)
Description
When a test has global data (set up by its initTestCase_data() function), it reports itself with a name like name:global:local, so the naive user blacklisting a test is apt to think this is a reasonable entry to put inside square brackets in a blacklist file. However, checkBlackLists() only gets passed the test name and local data-row tag, without a global data-row tag.
So the name the test reports doesn't get recognised and using it in the blacklist file doesn't work.
Discovered as a result of a review that thought it was blacklisting tests but wasn't.
Attachments
Issue Links
- relates to
-
QTBUG-102269 Test cases can't be called with a global data tag
- Closed
For Gerrit Dashboard: QTBUG-100870 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
396042,5 | Support global data tags in blacklisting identification of test-cases | dev | qt/qtbase | Status: MERGED | +2 | 0 |
412689,3 | Support global data tags in blacklisting identification of test-cases | 6.3 | qt/qtbase | Status: MERGED | +2 | 0 |
419931,3 | Support global data tags in blacklisting identification of test-cases | tqtc/lts-6.2 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |