diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-02-16 05:37:55 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-02-16 05:37:55 +0000 |
commit | 9a84c1eae1c66c6d423a988e814937401bd3e1b1 (patch) | |
tree | f2599284d7e8cc7de86149e2c5bf0146b0e1c399 /test | |
parent | 54e81d21e857dacf1a3e888302bd66756433c2f2 (diff) |
disable test on non-mmu host
Diffstat (limited to 'test')
-rw-r--r-- | test/signal/sigchld.c | 11 |
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 |