aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/examples/tst_examples.cpp
diff options
context:
space:
mode:
authorKurt Korbatits <kurt.korbatits@nokia.com>2012-03-23 13:51:06 +1000
committerQt by Nokia <qt-info@nokia.com>2012-03-29 00:35:32 +0200
commit5de103291d8159a236cabcc689caade265de1bd5 (patch)
treebfb940673b977142fca126bbde7650d4cdd61bb6 /tests/auto/quick/examples/tst_examples.cpp
parenta3470bccf3a5b0b714748363c740fa22959b0507 (diff)
Fixed unittests skipping for cross_compile option
- qmlmin, qqmlparser, examples unittests to skip source dependent tests when cross_compile option used as content not available. Change-Id: Ieaadeff0c303f0a633b8a3cc506a764ea995cf42 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests/auto/quick/examples/tst_examples.cpp')
-rw-r--r--tests/auto/quick/examples/tst_examples.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/auto/quick/examples/tst_examples.cpp b/tests/auto/quick/examples/tst_examples.cpp
index 9a2a800cfd..b019c716b0 100644
--- a/tests/auto/quick/examples/tst_examples.cpp
+++ b/tests/auto/quick/examples/tst_examples.cpp
@@ -249,10 +249,6 @@ void tst_examples::sgexamples()
{
QFETCH(QString, file);
-#if defined(QTEST_CROSS_COMPILED)
- QSKIP("sources not available when cross compiled");
-#endif
-
QQmlComponent component(&engine, QUrl::fromLocalFile(file));
if (component.status() == QQmlComponent::Error)
qWarning() << component.errors();
@@ -293,10 +289,6 @@ void tst_examples::sgsnippets()
{
QFETCH(QString, file);
-#if defined(QTEST_CROSS_COMPILED)
- QSKIP("sources not available when cross compiled");
-#endif
-
QQmlComponent component(&engine, QUrl::fromLocalFile(file));
if (component.status() == QQmlComponent::Error)
qWarning() << component.errors();