From: Jochen Sprickerhof <git@jochen.sprickerhof.de>
Date: Sun, 12 Jun 2022 13:51:37 +0200
Subject: Disable test on some archs

---
 test/unique_ptr_test.cpp | 2 ++
 test/utest.cpp           | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/test/unique_ptr_test.cpp b/test/unique_ptr_test.cpp
index 55a8172..209c96d 100644
--- a/test/unique_ptr_test.cpp
+++ b/test/unique_ptr_test.cpp
@@ -169,6 +169,7 @@ void run(ClassLoader * loader)
   }
 }
 
+#if !defined(__ARMEL__) && !defined(__MIPSEL__) && !defined(__hppa__) && !defined(__powerpc__)
 TEST(ClassLoaderUniquePtrTest, threadSafety) {
   ClassLoader loader1(LIBRARY_1);
   ASSERT_TRUE(loader1.isLibraryLoaded());
@@ -195,6 +196,7 @@ TEST(ClassLoaderUniquePtrTest, threadSafety) {
     FAIL() << "Unknown exception.";
   }
 }
+#endif
 
 TEST(ClassLoaderUniquePtrTest, loadRefCountingLazy) {
   try {
diff --git a/test/utest.cpp b/test/utest.cpp
index f83296a..b3b4487 100644
--- a/test/utest.cpp
+++ b/test/utest.cpp
@@ -237,6 +237,7 @@ void run(class_loader::ClassLoader * loader)
   }
 }
 
+#if !defined(__ARMEL__) && !defined(__MIPSEL__) && !defined(__hppa__) && !defined(__powerpc__)
 TEST(ClassLoaderTest, threadSafety) {
   class_loader::ClassLoader loader1(LIBRARY_1);
   ASSERT_TRUE(loader1.isLibraryLoaded());
@@ -267,6 +268,7 @@ TEST(ClassLoaderTest, threadSafety) {
     FAIL() << "Unknown exception.";
   }
 }
+#endif
 
 TEST(ClassLoaderTest, loadRefCountingNonLazy) {
   try {
