about summary refs log tree commit diff
path: root/nptl/tst-robust9.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/tst-robust9.c')
-rw-r--r--nptl/tst-robust9.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/nptl/tst-robust9.c b/nptl/tst-robust9.c
index 20cbd062dc..1d6ba179be 100644
--- a/nptl/tst-robust9.c
+++ b/nptl/tst-robust9.c
@@ -54,6 +54,13 @@ do_test (void)
     }
 #endif
   err = pthread_mutex_init (&m, &ma);
+#ifdef ENABLE_PI
+  if (err == ENOTSUP)
+    {
+      puts ("PI robust mutexes not supported");
+      return 0;
+    }
+#endif
   if (err)
     {
       puts ("pthread_mutex_init");