Remove Q_ASSERT from qatomicint/pointer autotests
authorJason McDonald <jason.mcdonald@nokia.com>
Tue, 19 Apr 2011 08:02:33 +0000 (18:02 +1000)
committerRohan McGovern <rohan.mcgovern@nokia.com>
Wed, 18 May 2011 00:46:40 +0000 (10:46 +1000)
commit94a7d439f28f7c171274b801f2a329aa57189589
tree1219a173bb8a1c54fed39350fec23098b862fae1
parent3ac241a1d531a666d5a0f2e255ed85a6e7875675
Remove Q_ASSERT from qatomicint/pointer autotests

Some code in these tests is not intended to be executed, but rather to
detect compiler warnings.  Instead of having an obscure fatal error if
this code is run in a debug build, it now has a clear fatal error if run
in any build.

Change-Id: I1c9d27bb14ebf3313865b68e3e57668ba1d14e25
Task-number: QTBUG-17582
Reviewed-by: Rohan McGovern
(cherry picked from commit 70f42ced8e01ddf0098b143e5804c22d55ebf16f)
tests/auto/qatomicint/tst_qatomicint.cpp
tests/auto/qatomicpointer/tst_qatomicpointer.cpp