From 91a38b18c61643f31f2ec1d98baa15ed009641a7 Mon Sep 17 00:00:00 2001 From: gengjiawen Date: Wed, 20 May 2020 21:53:11 +0800 Subject: [PATCH] test: skip signal_multiple_loops test on QEMU Fixes: https://github.com/libuv/libuv/issues/2859 PR-URL: https://github.com/libuv/libuv/pull/2860 Reviewed-By: Santiago Gimeno Reviewed-By: Colin Ihrig Reviewed-By: Richard Lau Reviewed-By: Ben Noordhuis --- test/test-signal-multiple-loops.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/test-signal-multiple-loops.c b/test/test-signal-multiple-loops.c index 4281d23d..09d9cacb 100644 --- a/test/test-signal-multiple-loops.c +++ b/test/test-signal-multiple-loops.c @@ -199,6 +199,11 @@ TEST_IMPL(signal_multiple_loops) { though it is supposed to be blocking. Also the test hangs during thread setup occasionally. */ RETURN_SKIP("FIXME: This test needs more investigation on Cygwin"); +#endif +/* TODO(gengjiawen): Fix test on QEMU. */ +#if defined(__QEMU__) + // See https://github.com/libuv/libuv/issues/2859 + RETURN_SKIP("QEMU's signal emulation code is notoriously tricky"); #endif uv_thread_t loop_creating_threads[NUM_LOOP_CREATING_THREADS]; uv_thread_t signal_handling_threads[NUM_SIGNAL_HANDLING_THREADS];