diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2010-04-14 01:07:18 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2010-04-14 01:07:18 (GMT) |
commit | 65020d507a5b6a932034b9d6ee57fd765893f3ad (patch) | |
tree | ca895041743148a25bf70975f06b19c6f9688a6a /tests/auto/declarative | |
parent | fde57b83333571aae33a660c16169a23ed96e6dd (diff) | |
download | Qt-65020d507a5b6a932034b9d6ee57fd765893f3ad.zip Qt-65020d507a5b6a932034b9d6ee57fd765893f3ad.tar.gz Qt-65020d507a5b6a932034b9d6ee57fd765893f3ad.tar.bz2 |
More verbose message on failure.
Diffstat (limited to 'tests/auto/declarative')
-rw-r--r-- | tests/auto/declarative/examples/tst_examples.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
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 |