Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
None
-
5.0.0
Description
In tests/auto/corelib/tools/qvarlengtharray/tst_qvarlengtharray.cpp, the last block of the oldTests() test function is disabled with:
QSKIP("This test causes the machine to crash when allocating too much memory.");
This is not an appropriate use of QSKIP, because it means that the tests previously executed in this function are never reported as a pass. If this block is never useful, it should be removed, otherwise the test should be fixed and the QSKIP removed.
On linux, if the QSKIP is removed the test causes std::bad_alloc to be thrown. Perhaps the test should catch this exception.
Attachments
Issue Links
- resulted in
-
QTBUG-27361 [autotest] tst_QVarLengthArray::outOfMemory is crashing the machine on Ubuntu 11.10
-
- Closed
-