Skip to content

[TSan][Test] Disable signal_recursive.cpp test on Darwin #141135

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

cachemeifyoucan
Copy link
Collaborator

Mark signal_recursive.cpp test as unsupported on Darwin due to deprecated API sem_init and test receives error:

sem_init failed (errno=78)

Mark signal_recursive.cpp test as unsupported on Darwin due to
deprecated API `sem_init` and test receives error:

`sem_init failed (errno=78)`
@llvmbot
Copy link
Member

llvmbot commented May 22, 2025

@llvm/pr-subscribers-compiler-rt-sanitizer

Author: Steven Wu (cachemeifyoucan)

Changes

Mark signal_recursive.cpp test as unsupported on Darwin due to deprecated API sem_init and test receives error:

sem_init failed (errno=78)


Full diff: https://github.com/llvm/llvm-project/pull/141135.diff

1 Files Affected:

  • (modified) compiler-rt/test/tsan/signal_recursive.cpp (+2)
diff --git a/compiler-rt/test/tsan/signal_recursive.cpp b/compiler-rt/test/tsan/signal_recursive.cpp
index fca8757d2a952..189c35a299dcd 100644
--- a/compiler-rt/test/tsan/signal_recursive.cpp
+++ b/compiler-rt/test/tsan/signal_recursive.cpp
@@ -3,6 +3,8 @@
 // Test case for recursive signal handlers, adopted from:
 // https://github.com/google/sanitizers/issues/478
 
+// UNSUPPORTED: darwin
+
 #include "test.h"
 #include <semaphore.h>
 #include <signal.h>

@cachemeifyoucan cachemeifyoucan merged commit e9304cb into llvm:main May 22, 2025
12 of 13 checks passed
sivan-shani pushed a commit to sivan-shani/llvm-project that referenced this pull request Jun 3, 2025
Mark signal_recursive.cpp test as unsupported on Darwin due to
deprecated API `sem_init` and test receives error:

`sem_init failed (errno=78)`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants