summaryrefslogtreecommitdiff
path: root/tests/auto/debugger
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@digia.com>2014-03-21 12:32:23 +0100
committerhjk <hjk121@nokiamail.com>2014-03-21 15:33:49 +0100
commit4175dc66ec85f47a7f22fcb8f0f660a0f9f78a2d (patch)
tree964ddf5c5dfbce308c4f403c992db8554b805ef3 /tests/auto/debugger
parent79497e7faeced3766016c13aab08c8654f607b3b (diff)
downloadqt-creator-4175dc66ec85f47a7f22fcb8f0f660a0f9f78a2d.tar.gz
Test: Fix tst_offsets for Qt5.2.0 on 64bit
Change-Id: Ie4650820702a83ffb2ca968304babb39084ec3c5 Reviewed-by: hjk <hjk121@nokiamail.com>
Diffstat (limited to 'tests/auto/debugger')
-rw-r--r--tests/auto/debugger/tst_offsets.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/auto/debugger/tst_offsets.cpp b/tests/auto/debugger/tst_offsets.cpp
index de23be850c..48ecb9ea85 100644
--- a/tests/auto/debugger/tst_offsets.cpp
+++ b/tests/auto/debugger/tst_offsets.cpp
@@ -76,8 +76,10 @@ void tst_offsets::offsets_data()
QFilePrivate *p = 0;
QTestData &data = QTest::newRow("QFilePrivate::fileName")
<< int((char *)&p->fileName - (char *)p);
- if (qtVersion >= 0x50200)
+ if (qtVersion > 0x50200)
data << 176 << 272;
+ else if (qtVersion == 0x50200)
+ data << 176 << 280;
else if (qtVersion >= 0x50000)
data << 180 << 280;
else