diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2022-03-14 18:33:59 +0100 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2022-03-22 17:43:13 +0100 |
commit | 02d130db7ebaa09f671c48ac83dfd5c3a250be16 (patch) | |
tree | d73b725bc6b26a247b60f2faeb181f189c8be142 /examples | |
parent | d52fbfe924a884ea3a0f516793e0038dd9099695 (diff) |
Avoid duplicate descriptions in TAP's incident YAML
When a B?Fail's description doesn't match the QVERIFY/QCOMPARE
regexes, it got output as a comment in the YAML block after the test
line had already reported it as a TODO comment. An empty description
would also have lead to an empty comment in the YAML block. Condition
this fallback output case on there being a description that hasn't yet
been reported in the test line.
Task-number: QTBUG-96844
Change-Id: Id7fe81d26ddb01da3d8003ada8fa590a5e1a166f
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions