summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmlvisual/tst_qmlvisual.cpp
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2010-10-29 04:32:58 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2010-10-29 04:32:58 (GMT)
commit03fa1fb439456428da883133d26038409462aca6 (patch)
treed33834849ac82385512e571bc5f85e6e85c522e9 /tests/auto/declarative/qmlvisual/tst_qmlvisual.cpp
parent4cfcf4e233c24f3397372da8b6fdddddce7a4bcc (diff)
downloadQt-03fa1fb439456428da883133d26038409462aca6.zip
Qt-03fa1fb439456428da883133d26038409462aca6.tar.gz
Qt-03fa1fb439456428da883133d26038409462aca6.tar.bz2
Almost all visual tests pass on linux
Still looking into text/fonts/plaintext which just developed an issue. Task-number: QTBUG-14792
Diffstat (limited to 'tests/auto/declarative/qmlvisual/tst_qmlvisual.cpp')
-rw-r--r--tests/auto/declarative/qmlvisual/tst_qmlvisual.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/declarative/qmlvisual/tst_qmlvisual.cpp b/tests/auto/declarative/qmlvisual/tst_qmlvisual.cpp
index a2d3273..21c5aa0 100644
--- a/tests/auto/declarative/qmlvisual/tst_qmlvisual.cpp
+++ b/tests/auto/declarative/qmlvisual/tst_qmlvisual.cpp
@@ -143,7 +143,7 @@ void tst_qmlvisual::visual_data()
foreach (const QString &file, files) {
QString testdata = toTestScript(file);
- if (testdata.isEmpty())
+ if (testdata.isEmpty() || !QFile::exists(testdata+".qml"))
continue;
QTest::newRow(file.toLatin1().constData()) << file << testdata;