Fix tst_qbytearray on QNX

qUncompressCorruptedData() no longer hangs on QNX 650 and Blackberry OS
sytems.

Change-Id: Id131f9f1c6dcd358c152675c7e29ab937052c1d0
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
bb10
Rafael Roquetto 2012-08-15 12:04:35 +02:00 committed by Qt by Nokia
parent da64a50792
commit 555e4e05f4
1 changed files with 3 additions and 3 deletions

View 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"