QtQml tests: remove QSKIP -> wrap within !QTEST_CROSS_COMPILED guards
[profile/ivi/qtdeclarative.git] / tests / auto / qml / qqmlparser / tst_qqmlparser.cpp
index 5fb5b71..0da8174 100644 (file)
@@ -58,8 +58,10 @@ public:
 
 private slots:
     void initTestCase();
+#if !defined(QTEST_CROSS_COMPILED) // sources not available when cross compiled
     void qmlParser_data();
     void qmlParser();
+#endif
 
 private:
     QStringList excludedDirs;
@@ -163,6 +165,7 @@ This test checks all the qml and js files in the QtQml UI source tree
 and ensures that the subnode's source locations are inside parent node's source locations
 */
 
+#if !defined(QTEST_CROSS_COMPILED) // sources not available when cross compiled
 void tst_qqmlparser::qmlParser_data()
 {
     QTest::addColumn<QString>("file");
@@ -177,7 +180,9 @@ void tst_qqmlparser::qmlParser_data()
     foreach (const QString &file, files)
         QTest::newRow(qPrintable(file)) << file;
 }
+#endif
 
+#if !defined(QTEST_CROSS_COMPILED) // sources not available when cross compiled
 void tst_qqmlparser::qmlParser()
 {
     QFETCH(QString, file);
@@ -204,6 +209,7 @@ void tst_qqmlparser::qmlParser()
     check::Check chk(&engine);
     chk(parser.rootNode());
 }
+#endif
 
 QTEST_MAIN(tst_qqmlparser)