summaryrefslogtreecommitdiff
path: root/test/nptl/tst-mqueue1.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/nptl/tst-mqueue1.c')
-rw-r--r--test/nptl/tst-mqueue1.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/nptl/tst-mqueue1.c b/test/nptl/tst-mqueue1.c
index f07df0b..1ce364e 100644
--- a/test/nptl/tst-mqueue1.c
+++ b/test/nptl/tst-mqueue1.c
@@ -29,6 +29,8 @@
#include "tst-mqueue.h"
#include "../test-skeleton.h"
+#ifdef __ARCH_USE_MMU__
+
static int
intcmp (const void *a, const void *b)
{
@@ -415,3 +417,13 @@ do_test (void)
}
#include "../test-skeleton.c"
+
+#else
+
+int main(void)
+{
+ printf("Skipping test on non-mmu host!\n");
+ return 23;
+}
+
+#endif