test: cond-skip fork_threadpool_queue_work_simple

Skip the test when ThreadSanitizer is active because the latter doesn't
support forking in multi-threaded processes.

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

View File

@ -646,6 +646,10 @@ TEST_IMPL(fork_threadpool_queue_work_simple) {
pid_t child_pid;
uv_loop_t loop;
#ifdef __TSAN__
RETURN_SKIP("ThreadSanitizer doesn't support multi-threaded fork");
#endif
/* Prime the pool and default loop. */
assert_run_work(uv_default_loop());