diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2012-06-14 21:16:51 (GMT) |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-18 15:22:01 (GMT) |
commit | 1812ca1b74d9a5378a0d06fe686d9bb2937d3d6a (patch) | |
tree | 42f4d1f160d9f07695646cae89d70da0b68cbe38 /tests/auto/qfile/tst_qfile.cpp | |
parent | bbecd315c0976c1e4ab3133c2e8551526cc9bdef (diff) | |
download | Qt-1812ca1b74d9a5378a0d06fe686d9bb2937d3d6a.zip Qt-1812ca1b74d9a5378a0d06fe686d9bb2937d3d6a.tar.gz Qt-1812ca1b74d9a5378a0d06fe686d9bb2937d3d6a.tar.bz2 |
Fix tst_qfile with shadow builds
Teach it to find this file in the SRCDIR.
Change-Id: I64e3926f10304efc15faa28b2b98569400802c59
Reviewed-by: Andy Shaw <andy.shaw@digia.com>
Reviewed-by: Richard J. Moore <rich@kde.org>
Diffstat (limited to 'tests/auto/qfile/tst_qfile.cpp')
-rw-r--r-- | tests/auto/qfile/tst_qfile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qfile/tst_qfile.cpp b/tests/auto/qfile/tst_qfile.cpp index 6298117..b7c8566 100644 --- a/tests/auto/qfile/tst_qfile.cpp +++ b/tests/auto/qfile/tst_qfile.cpp @@ -809,7 +809,7 @@ void tst_QFile::setSizeSeek() void tst_QFile::seekToSamePosition() { - QFile in("testfile.txt"); + QFile in(SRCDIR "testfile.txt"); QFile out("seekToSamePosition.txt"); QVERIFY(in.open(QFile::ReadOnly)); QVERIFY(out.open(QFile::WriteOnly)); |