summaryrefslogtreecommitdiff
path: root/test/nptl/tst-basic4.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/nptl/tst-basic4.c')
-rw-r--r--test/nptl/tst-basic4.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/nptl/tst-basic4.c b/test/nptl/tst-basic4.c
index f7bdf1d..02ddf93 100644
--- a/test/nptl/tst-basic4.c
+++ b/test/nptl/tst-basic4.c
@@ -25,6 +25,8 @@
#include <sys/wait.h>
#include "../test-skeleton.h"
+#ifdef __ARCH_USE_MMU__
+
static void
final_test (void)
{
@@ -98,3 +100,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