tst_qsharedmemory: skip readOnly() test under asan
The test helper is expected to crash, but when built with asan, it just fails. Skip the test in that case. Pick-to: 6.3 6.2 5.15 Change-Id: I583142f5ec623895df62498100c1a30539b149ab Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
parent
b369dc6021
commit
50ad52d804
@ -452,6 +452,8 @@ void tst_QSharedMemory::readOnly()
|
||||
QSKIP("No qprocess support", SkipAll);
|
||||
#elif defined(Q_OS_MACOS)
|
||||
QSKIP("QTBUG-59936: Times out on macOS", SkipAll);
|
||||
#elif defined(__SANITIZE_ADDRESS__) || __has_feature(address_sanitizer)
|
||||
QSKIP("ASan prevents the crash this test is looking for.", SkipAll);
|
||||
#else
|
||||
rememberKey("readonly_segfault");
|
||||
// ### on windows disable the popup somehow
|
||||
|
Loading…
x
Reference in New Issue
Block a user