From 9a84c1eae1c66c6d423a988e814937401bd3e1b1 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 16 Feb 2006 05:37:55 +0000 Subject: disable test on non-mmu host --- test/signal/sigchld.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'test') 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 -- cgit v1.2.3