summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2010-04-09 00:19:39 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2010-04-09 00:19:39 (GMT)
commit04664c6ed9a86d146c91ef57990d8ffdf3afa59d (patch)
treefb12329f65b75a316f720e33bb6917d156744bda
parentfda3e9d3e36e95392ad0882b445bb004001b9688 (diff)
downloadQt-04664c6ed9a86d146c91ef57990d8ffdf3afa59d.zip
Qt-04664c6ed9a86d146c91ef57990d8ffdf3afa59d.tar.gz
Qt-04664c6ed9a86d146c91ef57990d8ffdf3afa59d.tar.bz2
Verbose failure output
-rw-r--r--tests/auto/declarative/examples/tst_examples.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/declarative/examples/tst_examples.cpp b/tests/auto/declarative/examples/tst_examples.cpp
index dbd1f92..8fd5ac0 100644
--- a/tests/auto/declarative/examples/tst_examples.cpp
+++ b/tests/auto/declarative/examples/tst_examples.cpp
@@ -194,6 +194,8 @@ void tst_examples::examples()
QProcess p;
p.start(qmlruntime, arguments);
QVERIFY(p.waitForFinished());
+ if (p.exitStatus() != QProcess::NormalExit || p.exitCode() != 0)
+ qWarning() << p.readAllStandardOutput() << p.readAllStandardError();
QCOMPARE(p.exitStatus(), QProcess::NormalExit);
QCOMPARE(p.exitCode(), 0);
}