diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2010-04-13 05:12:24 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2010-04-13 05:12:24 (GMT) |
commit | bae8e41ff7d12ac10f69a4f03d97e736dace500d (patch) | |
tree | 26042a17130cc34020516f5609387d300c2b120c /tests | |
parent | 317f947b4c9822f8a1bfecc4de68117ddabfb9cf (diff) | |
download | Qt-bae8e41ff7d12ac10f69a4f03d97e736dace500d.zip Qt-bae8e41ff7d12ac10f69a4f03d97e736dace500d.tar.gz Qt-bae8e41ff7d12ac10f69a4f03d97e736dace500d.tar.bz2 |
Fix test (run with -qws on QWS).
Diffstat (limited to 'tests')
-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 64734af..7f4367e 100644 --- a/tests/auto/declarative/examples/tst_examples.cpp +++ b/tests/auto/declarative/examples/tst_examples.cpp @@ -225,6 +225,10 @@ void Example::run() 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); if (!p.waitForFinished()) { |