diff options
author | Tobias Koenig <tobias.koenig@kdab.com> | 2016-01-20 15:52:52 +0100 |
---|---|---|
committer | Tobias Koenig <tobias.koenig@kdab.com> | 2016-01-21 17:41:54 +0000 |
commit | 58cd67f452433027e1db6271e633460ad8cf2bd8 (patch) | |
tree | 39e955462ff14877bfc545b65b3497271e5210e0 /tests/auto | |
parent | c71faa27e6173255356df2e34050b8af15e4585b (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.cpp | 2 |
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); |