Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Non-zero exit code from QSKIP()-ed tests
MattB.au last edited by
Is there any way to detected skipped tests and return a non-zero exit code? For example rather then using QTEST_MAIN maybe it's possible to call QTest::qExec yourself and then something like QTest::numSkipped() to then return your own exit code.
This is needed to flag skipped tests on a CDash dashboard.
Interesting use case, I'd recommend to post this question on the interest mailing list. You'll find Qt's developers/maintainers there (this forum is more user oriented)