diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2010-04-12 06:23:50 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2010-04-12 06:23:50 (GMT) |
commit | 2a89e792eb2b772b8119fc3c0b4b0fba73987d72 (patch) | |
tree | 9b9c6f43aac2d5db8cd50b306b955c60b36a9c2e /tests/auto/declarative/examples | |
parent | a1f2ebcda0ff7904613a0e1ab02e6e9fdfa5b494 (diff) | |
download | Qt-2a89e792eb2b772b8119fc3c0b4b0fba73987d72.zip Qt-2a89e792eb2b772b8119fc3c0b4b0fba73987d72.tar.gz Qt-2a89e792eb2b772b8119fc3c0b4b0fba73987d72.tar.bz2 |
Fix test on QWS.
Diffstat (limited to 'tests/auto/declarative/examples')
-rw-r--r-- | tests/auto/declarative/examples/tst_examples.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/declarative/examples/tst_examples.cpp b/tests/auto/declarative/examples/tst_examples.cpp index 61ac2d1..6d7e578 100644 --- a/tests/auto/declarative/examples/tst_examples.cpp +++ b/tests/auto/declarative/examples/tst_examples.cpp @@ -193,6 +193,10 @@ void tst_examples::examples() arguments << "-script" << (testdata.exists() ? script : QLatin1String(SRCDIR "/data/dummytest")) << "-scriptopts" << "play,testerror,exitoncomplete,exitonfailure" << file; +#ifdef Q_WS_QWS + arguments << "-qws"; +#endif + QProcess p; p.start(qmlruntime, arguments); QVERIFY(p.waitForFinished()); |