summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/visual/tst_visual.cpp
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2009-05-21 06:59:17 (GMT)
committerMartin Jones <martin.jones@nokia.com>2009-05-21 06:59:17 (GMT)
commit479ea0cf60fe8a0e5fd0ac37b4602a495faa22fd (patch)
tree8a2959cb7720b0c4382931f46b0f3b4971d1d367 /tests/auto/declarative/visual/tst_visual.cpp
parenta3f784dd8c49a4edf1a22d68d435e29ceaf71c2d (diff)
downloadQt-479ea0cf60fe8a0e5fd0ac37b4602a495faa22fd.zip
Qt-479ea0cf60fe8a0e5fd0ac37b4602a495faa22fd.tar.gz
Qt-479ea0cf60fe8a0e5fd0ac37b4602a495faa22fd.tar.bz2
Get visual auto testing working again.
Diffstat (limited to 'tests/auto/declarative/visual/tst_visual.cpp')
-rw-r--r--tests/auto/declarative/visual/tst_visual.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/auto/declarative/visual/tst_visual.cpp b/tests/auto/declarative/visual/tst_visual.cpp
index f077994..f540e62 100644
--- a/tests/auto/declarative/visual/tst_visual.cpp
+++ b/tests/auto/declarative/visual/tst_visual.cpp
@@ -25,7 +25,9 @@ void tst_visual::visual()
{
QVERIFY(!testdir.isEmpty());
- QFile configFile(QLatin1String(QT_TEST_SOURCE_DIR) + "/" + testdir + "/test");
+ QString filename = QLatin1String(QT_TEST_SOURCE_DIR) + "/" + testdir + "/test";
+ qWarning() << "Using config:" << filename;
+ QFile configFile(filename);
QVERIFY(configFile.open(QIODevice::ReadOnly));
QString testfile = configFile.readLine().trimmed();