From 6687980f25a1229a649b177f57cfc66e3c03b9b5 Mon Sep 17 00:00:00 2001 From: Dmitry Shachnev Date: Mon, 15 Aug 2022 12:41:45 +0100 Subject: [PATCH] disable API tests on mips*, powerpc, ppc64 and ppc64el Forwarded: not-needed Last-Update: 2022-04-06 They are segfaulting due to bugs in QtScript. The stacktrace is (obtained on ppc64el): #0 SLL_PopRange (end=, start=, N=, head=0x3fffb32004e0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:742 #1 PopRange (end=, start=, N=, this=0x3fffb32004e0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2083 #2 ReleaseToCentralCache (N=192, cl=, this=0x3fffb3200478) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2795 #3 QTWTF::TCMalloc_ThreadCache::Cleanup (this=0x3fffb3200478) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2745 #4 0x00003fffb724c6d8 in QTWTF::TCMalloc_ThreadCache::DeleteCache (heap=0x3fffb3200478) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:3069 #5 0x00003fffb6a48604 in __nptl_deallocate_tsd () at pthread_create.c:157 #6 0x00003fffb6a489b8 in start_thread (arg=0x3fffb441f160) at pthread_create.c:322 #7 0x00003fffb745f870 in clone () at ../sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S:104 Also disable blackbox tests on mips* and riscv64. Gbp-Pq: Name disable_tests_qtscript.diff --- tests/auto/CMakeLists.txt | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/tests/auto/CMakeLists.txt b/tests/auto/CMakeLists.txt index 8b1a124a..8fe3bd02 100644 --- a/tests/auto/CMakeLists.txt +++ b/tests/auto/CMakeLists.txt @@ -1,6 +1,13 @@ -add_subdirectory(api) +set(API_DISABLED_ARCHITECTURES mips mips64 ppc ppc64 ppc64le) +set(BLACKBOX_DISABLED_ARCHITECTURES mips mips64 riscv64) + +if(NOT CMAKE_HOST_SYSTEM_PROCESSOR IN_LIST API_DISABLED_ARCHITECTURES) + add_subdirectory(api) +endif() add_subdirectory(cmdlineparser) -add_subdirectory(blackbox) +if(NOT CMAKE_HOST_SYSTEM_PROCESSOR IN_LIST BLACKBOX_DISABLED_ARCHITECTURES) + add_subdirectory(blackbox) +endif() if(WITH_UNIT_TESTS) add_subdirectory(buildgraph) -- 2.30.2