summaryrefslogtreecommitdiff
path: root/test/nptl/tst-signal1.c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2024-05-04 17:16:12 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2024-05-04 17:16:24 +0200
commita7c8210e2491cdc0893869172b84ba3801ec3d6c (patch)
tree6c8aa91ec6ce72bfe469e593797a44d2b9270ac1 /test/nptl/tst-signal1.c
parentfe5ec03feba87a1070bb260550758d699fb02e54 (diff)
nptl: fork() is not available for noMMU, skip testsHEADmaster
Diffstat (limited to 'test/nptl/tst-signal1.c')
-rw-r--r--test/nptl/tst-signal1.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/nptl/tst-signal1.c b/test/nptl/tst-signal1.c
index cb31108..54c9a3b 100644
--- a/test/nptl/tst-signal1.c
+++ b/test/nptl/tst-signal1.c
@@ -27,6 +27,7 @@
#include <sys/wait.h>
#include "../test-skeleton.h"
+#ifdef __ARCH_USE_MMU__
static sigset_t ss;
static pthread_barrier_t *b;
@@ -187,3 +188,13 @@ do_test (void)
#define TEST_FUNCTION do_test ()
#include "../test-skeleton.c"
+
+#else
+
+int main(void)
+{
+ printf("Skipping test on non-mmu host!\n");
+ return 23;
+}
+
+#endif