From 65020d507a5b6a932034b9d6ee57fd765893f3ad Mon Sep 17 00:00:00 2001 From: Warwick Allison Date: Wed, 14 Apr 2010 11:07:18 +1000 Subject: More verbose message on failure. --- tests/auto/declarative/examples/tst_examples.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/auto/declarative/examples/tst_examples.cpp b/tests/auto/declarative/examples/tst_examples.cpp index dfcc9c0..abb2b93 100644 --- a/tests/auto/declarative/examples/tst_examples.cpp +++ b/tests/auto/declarative/examples/tst_examples.cpp @@ -293,8 +293,11 @@ void tst_examples::examples() sync.waitForFinished(); - for (int ii = 0; ii < tests.count(); ++ii) + 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); + } #else -- cgit v0.12