summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorTobias Koenig <tobias.koenig@kdab.com>2016-01-20 15:52:52 +0100
committerTobias Koenig <tobias.koenig@kdab.com>2016-01-21 17:41:54 +0000
commit58cd67f452433027e1db6271e633460ad8cf2bd8 (patch)
tree39e955462ff14877bfc545b65b3497271e5210e0 /tests/auto
parentc71faa27e6173255356df2e34050b8af15e4585b (diff)
Fix unit test for srcdir != builddir
Change-Id: I553214d0ddf5ad618d759b2d1a4965d8950c80c3 Reviewed-by: Mauro Persano <mauro.persano@kdab.com> Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/render/ddstextures/tst_ddstextures.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/render/ddstextures/tst_ddstextures.cpp b/tests/auto/render/ddstextures/tst_ddstextures.cpp
index 55e9f7f5f..d22cb0021 100644
--- a/tests/auto/render/ddstextures/tst_ddstextures.cpp
+++ b/tests/auto/render/ddstextures/tst_ddstextures.cpp
@@ -87,7 +87,7 @@ void tst_DdsTextures::ddsImageData()
Qt3DRender::QTexImageData data;
- QVERIFY(data.setCompressedFile(texture->source));
+ QVERIFY(data.setCompressedFile(QFINDTESTDATA(texture->source)));
QCOMPARE(data.width(), texture->width);
QCOMPARE(data.height(), texture->height);
QCOMPARE(data.faces(), texture->faces);