test: cond-skip signal_multiple_loops

ThreadSanitizer's complaints about data races are likely legitimate but
they are pre-existing and not straightforward to fix with the current
design. Something for later.

Refs: https://github.com/libuv/libuv/issues/3681
This commit is contained in:
Ben Noordhuis 2023-01-19 14:09:15 +01:00
parent c58cd28279
commit bcbaf671a9

View File

@ -210,6 +210,12 @@ TEST_IMPL(signal_multiple_loops) {
#if defined(__QEMU__)
// See https://github.com/libuv/libuv/issues/2859
RETURN_SKIP("QEMU's signal emulation code is notoriously tricky");
#endif
#if defined(__TSAN__)
/* ThreadSanitizer complains - likely legitimately - about data races
* in uv__signal_compare() in src/unix/signal.c but that's pre-existing.
*/
RETURN_SKIP("Fix test under ThreadSanitizer");
#endif
uv_thread_t loop_creating_threads[NUM_LOOP_CREATING_THREADS];
uv_thread_t signal_handling_threads[NUM_SIGNAL_HANDLING_THREADS];