test: disable signal test under ASan and MSan (#3961)
The signal_multiple_loops test is flaky when run under AddressSanitizer and MemorySanitizer. Sometimes thread creation fails, other times it simply times out. Fixes: https://github.com/libuv/libuv/issues/3956
This commit is contained in:
parent
a7ff759ca1
commit
3ba75f1300
@ -208,9 +208,13 @@ TEST_IMPL(signal_multiple_loops) {
|
|||||||
#endif
|
#endif
|
||||||
/* TODO(gengjiawen): Fix test on QEMU. */
|
/* TODO(gengjiawen): Fix test on QEMU. */
|
||||||
#if defined(__QEMU__)
|
#if defined(__QEMU__)
|
||||||
// See https://github.com/libuv/libuv/issues/2859
|
/* See https://github.com/libuv/libuv/issues/2859 */
|
||||||
RETURN_SKIP("QEMU's signal emulation code is notoriously tricky");
|
RETURN_SKIP("QEMU's signal emulation code is notoriously tricky");
|
||||||
#endif
|
#endif
|
||||||
|
#if defined(__ASAN__) || defined(__MSAN__)
|
||||||
|
/* See https://github.com/libuv/libuv/issues/3956 */
|
||||||
|
RETURN_SKIP("Test is too slow to run under ASan or MSan");
|
||||||
|
#endif
|
||||||
#if defined(__TSAN__)
|
#if defined(__TSAN__)
|
||||||
/* ThreadSanitizer complains - likely legitimately - about data races
|
/* ThreadSanitizer complains - likely legitimately - about data races
|
||||||
* in uv__signal_compare() in src/unix/signal.c but that's pre-existing.
|
* in uv__signal_compare() in src/unix/signal.c but that's pre-existing.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user