-
Bug
-
Resolution: Fixed
-
P4: Low
-
5.0.0
-
None
-
297f1da1a (dev)
In tests/auto/gui/text/qstatictext/tst_qstatictext.cpp, the rotatedScaledAndTranslatedPainter() test function is disabled with #if 0.
In general, it would be better to use QEXPECT_FAIL to handle this, as the test would still be compile-tested and the developer would be informed if the bug was fixed by someone else. If QEXPECT_FAIL cannot be used (because the test crashes or is unstable), QSKIP is still preferable to #if 0.
Whether QEXPECT_FAIL or QSKIP is used, the xfail/skip message should reference a bug report describing the problem that caused the test to be disabled.