Test: Split tst_QVarLengthArray::oldTests
authorCaroline Chao <caroline.chao@digia.com>
Thu, 27 Sep 2012 08:11:24 +0000 (10:11 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 27 Sep 2012 19:13:52 +0000 (21:13 +0200)
commit47d635b011f55a7386befb7247c56d1a6e6b2f05
treed4e6c90c4aeac4f5e867e4ffc9bad191b9519b42
parent171c638a89c64cd421c44556c422f4cef2596fab
Test: Split tst_QVarLengthArray::oldTests

The entire test is currently skipped while only the last part is
causing problems.

Move the out of memory test code to its own test function and skip
only this function with the appropriate bug number. By allocating too
much memory this test is causing a crash.

Task-number: QTBUG-27361
Task-number: QTBUG-22342

Change-Id: Ia308099b7f12cf2c567b62063a7bbcc6fb38515b
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
tests/auto/corelib/tools/qvarlengtharray/tst_qvarlengtharray.cpp