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

Thiago Macieira thiago.macieira at intel.com
Wed Jun 4 09:31:42 CEST 2014


Em qua 04 jun 2014, às 06:38:24, Matt.Bolger at csiro.au escreveu:
> 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.

If you have only passed and skipped tests, the testcase succeeded. There's 
nothing to report. Therefore, having a non-zero exit code would be wrong.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list