am 899d6528: Merge "Give up trying to build the pthread_setname_np tests for glibc."

# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit '899d65283db0c78537ed27aa3a6c019000ec05da':
  Give up trying to build the pthread_setname_np tests for glibc.
diff --git a/tests/pthread_test.cpp b/tests/pthread_test.cpp
index 00aa4b1..931a4c7 100644
--- a/tests/pthread_test.cpp
+++ b/tests/pthread_test.cpp
@@ -196,20 +196,27 @@
 }
 #endif
 
+#if __BIONIC__ // Not all build servers have a new enough glibc? TODO: remove when they're on gprecise.
 TEST(pthread, pthread_setname_np__too_long) {
   ASSERT_EQ(ERANGE, pthread_setname_np(pthread_self(), "this name is far too long for linux"));
 }
+#endif
 
+#if __BIONIC__ // Not all build servers have a new enough glibc? TODO: remove when they're on gprecise.
 TEST(pthread, pthread_setname_np__self) {
   ASSERT_EQ(0, pthread_setname_np(pthread_self(), "short 1"));
 }
+#endif
 
+#if __BIONIC__ // Not all build servers have a new enough glibc? TODO: remove when they're on gprecise.
 TEST(pthread, pthread_setname_np__other) {
   pthread_t t1;
   ASSERT_EQ(0, pthread_create(&t1, NULL, SleepFn, reinterpret_cast<void*>(5)));
   ASSERT_EQ(0, pthread_setname_np(t1, "short 2"));
 }
+#endif
 
+#if __BIONIC__ // Not all build servers have a new enough glibc? TODO: remove when they're on gprecise.
 TEST(pthread, pthread_setname_np__no_such_thread) {
   pthread_t t1;
   ASSERT_EQ(0, pthread_create(&t1, NULL, IdFn, NULL));
@@ -219,3 +226,4 @@
   // Call pthread_setname_np after thread has already exited.
   ASSERT_EQ(ENOENT, pthread_setname_np(t1, "short 3"));
 }
+#endif