From 5bf18a6e88cd85cf5d70b109f20dbf3945030d16 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Tue, 23 May 2023 00:24:39 +0200 Subject: [PATCH] test: remove erroneous RETURN_SKIP (#4015) The threadpool_multiple_event_loops test already calls RETURN_SKIP when needed. Remove it from the callback function where it isn't needed work (nor works) and generates a build warning when compiling for qemu. Fixes: https://github.com/libuv/libuv/issues/4014 --- test/test-thread.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/test-thread.c b/test/test-thread.c index c01991b4..82f80833 100644 --- a/test/test-thread.c +++ b/test/test-thread.c @@ -78,10 +78,6 @@ static void getaddrinfo_do(struct getaddrinfo_req* req) { static void getaddrinfo_cb(uv_getaddrinfo_t* handle, int status, struct addrinfo* res) { -/* TODO(gengjiawen): Fix test on QEMU. */ -#if defined(__QEMU__) - RETURN_SKIP("Test does not currently work in QEMU"); -#endif struct getaddrinfo_req* req; ASSERT(status == 0);