From 27479c13237692d91ba385e8eef82221d7de2d19 Mon Sep 17 00:00:00 2001 From: Alex Trotsenko Date: Tue, 22 Dec 2015 10:56:26 +0200 Subject: Enable a test for QFilePrivate::fileName offset on 32 bit Linux Change-Id: I3577ff7126263ddbe4b7714095480e6f1da7b661 Reviewed-by: hjk --- tests/auto/other/toolsupport/tst_toolsupport.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/auto/other') diff --git a/tests/auto/other/toolsupport/tst_toolsupport.cpp b/tests/auto/other/toolsupport/tst_toolsupport.cpp index f3c99af8ba..92127fcd5c 100644 --- a/tests/auto/other/toolsupport/tst_toolsupport.cpp +++ b/tests/auto/other/toolsupport/tst_toolsupport.cpp @@ -111,7 +111,7 @@ void tst_toolsupport::offsets_data() } #ifdef Q_OS_LINUX - if (sizeof(void *) == 8) { + { QTestData &data = QTest::newRow("QFilePrivate::fileName") << pmm_to_offsetof(&QFilePrivate::fileName); data << 168 << 248; -- cgit v1.2.3