From 92eacd19a16bc1d0146524946bab3d672de1897f Mon Sep 17 00:00:00 2001 From: Abdirahim Musse <33973272+abmusse@users.noreply.github.com> Date: Mon, 3 Mar 2025 12:12:48 -0600 Subject: [PATCH] test: skip thread_name_threadpool on AIX/IBMi (#4731) uv_thread_getname is not available on aix and ibm i Same issue as thread_name test Refs: https://github.com/libuv/libuv/pull/4599#issuecomment-2498376606 --- test/test-thread-name.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/test-thread-name.c b/test/test-thread-name.c index 378d82cf8..393407442 100644 --- a/test/test-thread-name.c +++ b/test/test-thread-name.c @@ -178,6 +178,10 @@ static void after_work_cb(uv_work_t* req, int status) { } TEST_IMPL(thread_name_threadpool) { + +#if defined(_AIX) || defined(__PASE__) + RETURN_SKIP("API not available on this platform"); +#endif uv_work_t req; loop = uv_default_loop(); // Just to make sure all workers will be executed