summaryrefslogtreecommitdiffstats
path: root/tests/auto/qfile/largefile
diff options
context:
space:
mode:
authorJo Asplin <jo.asplin@nokia.com>2011-10-26 09:29:58 (GMT)
committerQt by Nokia <qt-info@nokia.com>2012-02-14 06:58:07 (GMT)
commit5bc49483c6b76e928daa0f824785f8cb8d9ae159 (patch)
treeb3fef614fa765da00150f535278ee0ab6cf0cb6e /tests/auto/qfile/largefile
parent2d17086e3790953bb5a65e32c5e7ca5306ff67ea (diff)
downloadQt-5bc49483c6b76e928daa0f824785f8cb8d9ae159.zip
Qt-5bc49483c6b76e928daa0f824785f8cb8d9ae159.tar.gz
Qt-5bc49483c6b76e928daa0f824785f8cb8d9ae159.tar.bz2
Re-enabled tst_LargeFile
tst_LargeFile currently seems to pass in a stable way in CI It does have an issue on 64-bit Linux (see QTBUG-21175), so that test function is still disabled (QEXPECT_FAIL'ed) on that platform. Change-Id: I818046f84f2db5eb2155ae1f51f69581029bfaee Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com> Reviewed-by: Shane Kearns <shane.kearns@accenture.com> (cherry picked from commit b5ef53df457d784da7221a8244963462a686458d)
Diffstat (limited to 'tests/auto/qfile/largefile')
-rw-r--r--tests/auto/qfile/largefile/largefile.pro1
-rw-r--r--tests/auto/qfile/largefile/tst_largefile.cpp3
2 files changed, 3 insertions, 1 deletions
diff --git a/tests/auto/qfile/largefile/largefile.pro b/tests/auto/qfile/largefile/largefile.pro
index ea305ec..6407cb6 100644
--- a/tests/auto/qfile/largefile/largefile.pro
+++ b/tests/auto/qfile/largefile/largefile.pro
@@ -6,4 +6,3 @@ SOURCES += tst_largefile.cpp
wince*: SOURCES += $$QT_SOURCE_TREE/src/corelib/kernel/qfunctions_wince.cpp
CONFIG += parallel_test
-CONFIG += insignificant_test
diff --git a/tests/auto/qfile/largefile/tst_largefile.cpp b/tests/auto/qfile/largefile/tst_largefile.cpp
index 92d3070..2897ad6 100644
--- a/tests/auto/qfile/largefile/tst_largefile.cpp
+++ b/tests/auto/qfile/largefile/tst_largefile.cpp
@@ -526,6 +526,9 @@ void tst_LargeFile::mapOffsetOverflow()
uchar *address = 0;
address = largeFile.map(((qint64)1 << i), blockSize);
+#if defined(__x86_64__)
+ QEXPECT_FAIL("", "fails on 64-bit Linux (QTBUG-21175)", Abort);
+#endif
QVERIFY( !address );
address = largeFile.map(((qint64)1 << i) + blockSize, blockSize);