diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2010-03-26 06:41:35 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2010-03-28 23:50:09 (GMT) |
commit | 1410285458ff6f5e89be3cc6414466b83701eae1 (patch) | |
tree | e7108928d2ecfff60d98ac305b778add0ae4f2bd /tests/auto/declarative/qmlvisual | |
parent | d81e74a5d40202ce17d31f71ae953a19ed7191dd (diff) | |
download | Qt-1410285458ff6f5e89be3cc6414466b83701eae1.zip Qt-1410285458ff6f5e89be3cc6414466b83701eae1.tar.gz Qt-1410285458ff6f5e89be3cc6414466b83701eae1.tar.bz2 |
Run a subset of 'stable' visual tests.
Diffstat (limited to 'tests/auto/declarative/qmlvisual')
-rw-r--r-- | tests/auto/declarative/qmlvisual/tst_qmlvisual.cpp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/tests/auto/declarative/qmlvisual/tst_qmlvisual.cpp b/tests/auto/declarative/qmlvisual/tst_qmlvisual.cpp index 78a753e..f87fd29 100644 --- a/tests/auto/declarative/qmlvisual/tst_qmlvisual.cpp +++ b/tests/auto/declarative/qmlvisual/tst_qmlvisual.cpp @@ -97,13 +97,21 @@ void tst_qmlvisual::visual_data() QTest::addColumn<QString>("testdata"); QStringList files; - files << findQmlFiles(QDir(QT_TEST_SOURCE_DIR)); + if (qgetenv("RUN_ALL") != "") + files << findQmlFiles(QDir(QT_TEST_SOURCE_DIR)); + else { + //these are tests we think are stable and useful enough to be run by the CI system + files << QT_TEST_SOURCE_DIR "/animation/pauseAnimation/pauseAnimation.qml"; + files << QT_TEST_SOURCE_DIR "/animation/parentAnimation/parentAnimation.qml"; + files << QT_TEST_SOURCE_DIR "/animation/reanchor/reanchor.qml"; + } + foreach (const QString &file, files) { QString testdata = toTestScript(file); if (testdata.isEmpty()) continue; - + QTest::newRow(file.toLatin1().constData()) << file << testdata; } } |