Fix tst_qbytearray on QNX
authorRafael Roquetto <rafael.roquetto.qnx@kdab.com>
Wed, 15 Aug 2012 10:04:35 +0000 (12:04 +0200)
committerQt by Nokia <qt-info@nokia.com>
Wed, 15 Aug 2012 13:19:55 +0000 (15:19 +0200)
qUncompressCorruptedData() no longer hangs on QNX 650 and Blackberry OS
sytems.

Change-Id: Id131f9f1c6dcd358c152675c7e29ab937052c1d0
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
tests/auto/corelib/tools/qbytearray/tst_qbytearray.cpp

index aa17a49..a28bc81 100644 (file)
@@ -307,11 +307,11 @@ void tst_QByteArray::qUncompressCorruptedData_data()
 }
 
 // Corrupt data causes this test to lock up on HP-UX / PA-RISC with gcc,
-// SOLARIS, QNX and Windows.
+// SOLARIS, and Windows.
 // This test is expected to produce some warning messages in the test output.
 void tst_QByteArray::qUncompressCorruptedData()
 {
-#if !(defined(Q_OS_HPUX) && !defined(__ia64) && defined(Q_CC_GNU)) && !defined(Q_OS_SOLARIS) && !defined(Q_OS_QNX) && !defined(Q_OS_WIN)
+#if !(defined(Q_OS_HPUX) && !defined(__ia64) && defined(Q_CC_GNU)) && !defined(Q_OS_SOLARIS) && !defined(Q_OS_WIN)
     QFETCH(QByteArray, in);
 
     QByteArray res;
@@ -1904,5 +1904,5 @@ void tst_QByteArray::literals()
 
 const char globalChar = '1';
 
-QTEST_APPLESS_MAIN(tst_QByteArray)
+QTEST_MAIN(tst_QByteArray)
 #include "tst_qbytearray.moc"