Non-zero exit code from QSKIP()-ed tests



  • 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.

    Thanks
    Matt


  • Lifetime Qt Champion

    Hi,

    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)


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.