Explorar o código

disable test on non-mmu host

Mike Frysinger %!s(int64=20) %!d(string=hai) anos
pai
achega
9a84c1eae1
Modificáronse 1 ficheiros con 11 adicións e 0 borrados
  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