diff options
author | fanquake <fanquake@gmail.com> | 2024-05-18 10:59:55 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2024-05-21 10:29:51 +0100 |
commit | 17fe948cce2eb75f0f3f4b0db9d0d90648c7d4af (patch) | |
tree | 08ae5f10fd8a883e68fd48f6b73590d99179a527 /src/test/util_threadnames_tests.cpp | |
parent | 1e7c20bc19a216269c646177ab90cfa084c096a5 (diff) | |
download | bitcoin-17fe948cce2eb75f0f3f4b0db9d0d90648c7d4af.tar.xz |
build: remove --enable-threadlocal
Diffstat (limited to 'src/test/util_threadnames_tests.cpp')
-rw-r--r-- | src/test/util_threadnames_tests.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/test/util_threadnames_tests.cpp b/src/test/util_threadnames_tests.cpp index df5b1a4461..174052d5fa 100644 --- a/src/test/util_threadnames_tests.cpp +++ b/src/test/util_threadnames_tests.cpp @@ -11,8 +11,6 @@ #include <thread> #include <vector> -#include <config/bitcoin-config.h> // IWYU pragma: keep - #include <boost/test/unit_test.hpp> BOOST_AUTO_TEST_SUITE(util_threadnames_tests) @@ -52,11 +50,6 @@ std::set<std::string> RenameEnMasse(int num_threads) */ BOOST_AUTO_TEST_CASE(util_threadnames_test_rename_threaded) { -#if !defined(HAVE_THREAD_LOCAL) - // This test doesn't apply to platforms where we don't have thread_local. - return; -#endif - std::set<std::string> names = RenameEnMasse(100); BOOST_CHECK_EQUAL(names.size(), 100U); |