From 6c0bdae68c9936f41934062cf80ed38cd1cc9add Mon Sep 17 00:00:00 2001 From: Bea Lam Date: Thu, 11 Feb 2010 11:41:51 +1000 Subject: Must pass app arguments onto qExec() or else test system cannot get test results with -xml mode. --- tests/auto/declarative/shared/debugutil.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- cgit v0.12