aboutsummaryrefslogtreecommitdiff
path: root/test/test-process-title-threadsafe.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-process-title-threadsafe.c')
-rw-r--r--test/test-process-title-threadsafe.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/test/test-process-title-threadsafe.c b/test/test-process-title-threadsafe.c
index 05baaf44..212c715a 100644
--- a/test/test-process-title-threadsafe.c
+++ b/test/test-process-title-threadsafe.c
@@ -85,10 +85,18 @@ TEST_IMPL(process_title_threadsafe) {
int i;
#if defined(__sun) || defined(__CYGWIN__) || defined(__MSYS__) || \
- defined(__MVS__) || defined(__PASE__)
+ defined(__MVS__) || defined(__PASE__) || defined(__QNX__)
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));