diff options
Diffstat (limited to 'tests/auto/declarative/examples/tst_examples.cpp')
-rw-r--r-- | tests/auto/declarative/examples/tst_examples.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/declarative/examples/tst_examples.cpp b/tests/auto/declarative/examples/tst_examples.cpp index abb2b93..67b29dd 100644 --- a/tests/auto/declarative/examples/tst_examples.cpp +++ b/tests/auto/declarative/examples/tst_examples.cpp @@ -296,7 +296,8 @@ void tst_examples::examples() for (int ii = 0; ii < tests.count(); ++ii) { if (tests.at(ii).result != Example::Pass) qWarning() << tests.at(ii).file << ":failed"; - QVERIFY(tests.at(ii).result == Example::Pass); + if (tests.at(ii).result != Example::Pass) + QFAIL(qPrintable(tests.at(ii).file)); } #else |