qt6-bb10/tests/auto/corelib
Marc Mutz f647375275 Fix signed integer overflows in tst_QAtomicInteger
Signed integer overflows and underflows are undefined
behavior. A test that invokes UB tests nothing, because
the standard permits any outcome.

Fix by guarding the respective operations so
they are not executed if they would overflow
or underflow.

Change-Id: I40354ee88f40e4b47b70eac7790dc3a79ac70a57
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
2016-03-10 07:17:55 +00:00
..
animation Extend tst_QPauseAnimation::pauseAndPropertyAnimations blacklist 2015-06-20 15:25:58 +00:00
codecs Fix utf8->utf16 BOM/ZWNBSP decoding. 2015-12-21 09:56:49 +00:00
global Fix compilation for WinRT 2015-12-14 08:43:15 +00:00
io Ensure QTextStream doesn't modify the Text flag on the underlying iodevice 2016-03-08 08:59:19 +00:00
itemmodels tst_QItemModel: Use a QTemporaryDir for test data of QDirModel. 2015-11-27 22:50:26 +00:00
json Update testdata 2016-02-17 04:50:50 +00:00
kernel tst_QMetaType: fix misleading indention 2016-03-09 13:18:26 +00:00
mimetypes QMimeDatabase: follow symlinks when checking for FIFO etc. 2015-12-29 11:06:13 +00:00
plugin winrt: cleanup testcases 2016-01-29 13:35:48 +00:00
statemachine Merge remote-tracking branch 'origin/5.5' into 5.6 2016-01-19 10:03:01 +01:00
thread Fix signed integer overflows in tst_QAtomicInteger 2016-03-10 07:17:55 +00:00
tools Remove a mis-placed QSKIP(). 2016-02-26 09:22:35 +00:00
xml Update copyright headers 2015-02-11 06:49:51 +00:00
corelib.pro