Browse Source

disable test on non-mmu host

Mike Frysinger 19 years ago
parent
commit
9a84c1eae1
1 changed files with 11 additions and 0 deletions
  1. 11 0
      test/signal/sigchld.c

+ 11 - 0
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