summaryrefslogtreecommitdiff
path: root/test/nptl/tst-sem3.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/nptl/tst-sem3.c')
-rw-r--r--test/nptl/tst-sem3.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/nptl/tst-sem3.c b/test/nptl/tst-sem3.c
index 1b598dc..3969bc7 100644
--- a/test/nptl/tst-sem3.c
+++ b/test/nptl/tst-sem3.c
@@ -27,6 +27,7 @@
#include <sys/wait.h>
#include "../test-skeleton.h"
+#ifdef __ARCH_USE_MMU__
int
do_test (void)
@@ -143,3 +144,13 @@ do_test (void)
#define TEST_FUNCTION do_test ()
#include "../test-skeleton.c"
+
+#else
+
+int main(void)
+{
+ printf("Skipping test on non-mmu host!\n");
+ return 23;
+}
+
+#endif