diff options
Diffstat (limited to 'test/nptl/tst-cancel21.c')
| -rw-r--r-- | test/nptl/tst-cancel21.c | 11 | 
1 files changed, 11 insertions, 0 deletions
| diff --git a/test/nptl/tst-cancel21.c b/test/nptl/tst-cancel21.c index 489c18a..db2d8ae 100644 --- a/test/nptl/tst-cancel21.c +++ b/test/nptl/tst-cancel21.c @@ -24,6 +24,7 @@  #include <sys/wait.h>  #include <unistd.h> +#ifdef __ARCH_USE_MMU__  static int fd[4];  static pthread_barrier_t b; @@ -291,3 +292,13 @@ do_test (void)  #define TIMEOUT 40  #define TEST_FUNCTION do_test ()  #include "../test-skeleton.c" + +#else + +int main(void) +{ +    printf("Skipping test on non-mmu host!\n"); +    return 23; +} + +#endif | 
