From bae8e41ff7d12ac10f69a4f03d97e736dace500d Mon Sep 17 00:00:00 2001 From: Michael Brasser Date: Tue, 13 Apr 2010 15:12:24 +1000 Subject: Fix test (run with -qws on QWS). --- tests/auto/declarative/examples/tst_examples.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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()) { -- cgit v0.12