diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2025-07-06 16:19:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-06 16:19:51 +0200 |
commit | aac866f39923670d9c136851f866531f5f6cd889 (patch) | |
tree | 77d4035870d15c76b0fc80824ead43685000dc07 | |
parent | 3d12a590c1dcbd0e4f97254caea3a4d65f228a3c (diff) | |
download | libuv-aac866f39923670d9c136851f866531f5f6cd889.tar.gz libuv-aac866f39923670d9c136851f866531f5f6cd889.zip |
test: skip slow process title test on asan+macos (#4825)
uv_set_process_title loads and unloads a bunch of dynamic libraries,
and that's quite slow and prone to time out when running concurrently
under AddressSanitizer.
-rw-r--r-- | test/test-process-title-threadsafe.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/test-process-title-threadsafe.c b/test/test-process-title-threadsafe.c index daa13b8c..212c715a 100644 --- a/test/test-process-title-threadsafe.c +++ b/test/test-process-title-threadsafe.c @@ -89,6 +89,14 @@ TEST_IMPL(process_title_threadsafe) { RETURN_SKIP("uv_(get|set)_process_title is not implemented."); #endif +#if defined(__ASAN__) && defined(__APPLE__) + /* uv_set_process_title loads and unloads a bunch of dynamic libraries, + * and that's quite slow and prone to time out when running concurrently + * under AddressSanitizer. + */ + RETURN_SKIP("too slow under ASAN"); +#endif + ASSERT_OK(uv_set_process_title(titles[0])); ASSERT_OK(uv_sem_init(&getter_sem, 0)); |