summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/shared/debugutil.cpp
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2010-02-11 01:41:51 (GMT)
committerBea Lam <bea.lam@nokia.com>2010-02-11 01:41:51 (GMT)
commit6c0bdae68c9936f41934062cf80ed38cd1cc9add (patch)
tree2a8f179705c5f495f0542a1233ac09c2072c0aa3 /tests/auto/declarative/shared/debugutil.cpp
parenta221b2d7980932d09c20f215ad1dc56531ae7bf1 (diff)
downloadQt-6c0bdae68c9936f41934062cf80ed38cd1cc9add.zip
Qt-6c0bdae68c9936f41934062cf80ed38cd1cc9add.tar.gz
Qt-6c0bdae68c9936f41934062cf80ed38cd1cc9add.tar.bz2
Must pass app arguments onto qExec() or else test system cannot
get test results with -xml mode.
Diffstat (limited to 'tests/auto/declarative/shared/debugutil.cpp')
-rw-r--r--tests/auto/declarative/shared/debugutil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/declarative/shared/debugutil.cpp b/tests/auto/declarative/shared/debugutil.cpp
index 936adda..6b6e821 100644
--- a/tests/auto/declarative/shared/debugutil.cpp
+++ b/tests/auto/declarative/shared/debugutil.cpp
@@ -138,7 +138,7 @@ void tst_QmlDebug_Thread::run()
Q_ASSERT(m_factory);
QObject *test = m_factory->createTest(m_data);
Q_ASSERT(test);
- int code = QTest::qExec(test);
+ int code = QTest::qExec(test, QCoreApplication::arguments());
emit testsFinished(code);
}