summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/signal/sigchld.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/signal/sigchld.c b/test/signal/sigchld.c
index ad2970624..10a631eda 100644
--- a/test/signal/sigchld.c
+++ b/test/signal/sigchld.c
@@ -14,6 +14,8 @@ void test_handler(int signo)
}
+#ifdef __UCLIBC_HAS_MMU__
+
int main(void)
{
pid_t mypid;
@@ -57,3 +59,12 @@ int main(void)
return 0;
}
+#else
+
+int main(void)
+{
+ printf("Skipping test on non-mmu host!\n");
+ return 0;
+}
+
+#endif