From: Debian Science Maintainers Date: Mon, 26 Dec 2022 16:21:23 +0000 (+0000) Subject: test-less-stress X-Git-Tag: archive/raspbian/2021.8.0-1+rpi1^2~4 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f3ac2384ec09702276b6d52f3e57551956a726f6;p=onetbb.git test-less-stress Forward: https://github.com/oneapi-src/oneTBB/pull/789 =================================================================== Gbp-Pq: Name test-less-stress.patch --- diff --git a/test/tbb/test_collaborative_call_once.cpp b/test/tbb/test_collaborative_call_once.cpp index 2ffa283..5c26db8 100644 --- a/test/tbb/test_collaborative_call_once.cpp +++ b/test/tbb/test_collaborative_call_once.cpp @@ -216,6 +216,9 @@ TEST_CASE("only calls once - stress test") { // that makes impossible to create more than ~500 threads. // Android has been added to decrease testing time. constexpr std::size_t N = tbb::detail::d0::max_nfs_size * 2; +#elif defined(__ILP32__) && defined(__x86_64__) + // This is for x32 port https://wiki.debian.org/X32Port + constexpr std::size_t N = tbb::detail::d0::max_nfs_size * 2; #else constexpr std::size_t N = tbb::detail::d0::max_nfs_size * 4; #endif @@ -287,6 +290,9 @@ TEST_CASE("handles exceptions - stress test") { // that makes impossible to create more than ~500 threads. // Android has been added to decrease testing time. constexpr std::size_t N = tbb::detail::d0::max_nfs_size * 2; +#elif defined(__ILP32__) && defined(__x86_64__) + // This is for x32 port https://wiki.debian.org/X32Port + constexpr std::size_t N = tbb::detail::d0::max_nfs_size * 2; #else constexpr std::size_t N = tbb::detail::d0::max_nfs_size * 4; #endif