[Interest] Non-zero exit code from QSKIP()-ed tests

Matt.Bolger at csiro.au Matt.Bolger at csiro.au
Wed Jun 4 08:38:24 CEST 2014


Is there any way to detected skipped tests and return a non-zero exit code? For example rather than 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. (http://public.kitware.com/pipermail/cdash/2014-June/001459.html)



Thanks
Matt

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140604/9f3ab4ad/attachment.html>


More information about the Interest mailing list