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

2014-06-04 Thread Thiago Macieira
Em qua 04 jun 2014, às 23:11:45, matt.bol...@csiro.au escreveu: > Thanks Thiago, although I'm actually not asking about the merits of whether > skipping something should be considered a complete succuss or something > else. My question is whether there's any way in code to query the number of > tes

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

2014-06-04 Thread Matt.Bolger
--Original Message- From: interest-bounces+matt.bolger=csiro...@qt-project.org [mailto:interest-bounces+matt.bolger=csiro...@qt-project.org] On Behalf Of Thiago Macieira Sent: Wednesday, 4 June 2014 5:32 PM To: interest@qt-project.org Subject: Re: [Interest] Non-zero exit code from QSKIP()-ed

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

2014-06-04 Thread Thiago Macieira
Em qua 04 jun 2014, às 06:38:24, matt.bol...@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 y

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

2014-06-03 Thread Matt.Bolger
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