From 4220f70d037b023d8311528aa232d737ec4f3278 Mon Sep 17 00:00:00 2001 From: Debian Science Maintainers Date: Sun, 30 Oct 2022 03:15:39 +0000 Subject: [PATCH] test-less-stress Forward: https://github.com/oneapi-src/oneTBB/pull/789 =================================================================== Gbp-Pq: Name test-less-stress.patch --- test/tbb/test_collaborative_call_once.cpp | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.30.2