summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJo Asplin <jo.asplin@nokia.com>2011-10-26 11:29:58 +0200
committerQt by Nokia <qt-info@nokia.com>2011-10-29 19:56:37 +0200
commitb5ef53df457d784da7221a8244963462a686458d (patch)
tree3866dcf1fe494b2a7517e4de882e831c64219d53
parent1c029324bc4ae8c754f259f1498974ab2a4bdc72 (diff)
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>
-rw-r--r--tests/auto/corelib/io/qfile/largefile/largefile.pro1
-rw-r--r--tests/auto/corelib/io/qfile/largefile/tst_largefile.cpp3
2 files changed, 3 insertions, 1 deletions
diff --git a/tests/auto/corelib/io/qfile/largefile/largefile.pro b/tests/auto/corelib/io/qfile/largefile/largefile.pro
index 5b5cf49f86..ca2a1864bd 100644
--- a/tests/auto/corelib/io/qfile/largefile/largefile.pro
+++ b/tests/auto/corelib/io/qfile/largefile/largefile.pro
@@ -7,4 +7,3 @@ SOURCES += tst_largefile.cpp
wince*: SOURCES += $$QT_SOURCE_TREE/src/corelib/kernel/qfunctions_wince.cpp
CONFIG += parallel_test
-CONFIG += insignificant_test # QTBUG-21175
diff --git a/tests/auto/corelib/io/qfile/largefile/tst_largefile.cpp b/tests/auto/corelib/io/qfile/largefile/tst_largefile.cpp
index 1ac878d81b..8f3b33dcf0 100644
--- a/tests/auto/corelib/io/qfile/largefile/tst_largefile.cpp
+++ b/tests/auto/corelib/io/qfile/largefile/tst_largefile.cpp
@@ -521,6 +521,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);