From: Siva Chandra Date: Wed, 3 Aug 2022 19:04:21 +0000 (-0700) Subject: [libc] Disable the loader init_fini_array_test for non-x86_64 targets. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f0bb276794f1e59caad67257182c23ec28adeac1;p=platform%2Fupstream%2Fllvm.git [libc] Disable the loader init_fini_array_test for non-x86_64 targets. Loader for aarch64 will be extended in a future pass and this test will be enabled back again. --- diff --git a/libc/test/integration/loader/linux/CMakeLists.txt b/libc/test/integration/loader/linux/CMakeLists.txt index 5138f7a..1cf6503 100644 --- a/libc/test/integration/loader/linux/CMakeLists.txt +++ b/libc/test/integration/loader/linux/CMakeLists.txt @@ -52,11 +52,13 @@ add_integration_test( libc.src.sys.mman.mmap ) -add_integration_test( - init_fini_array_test - SUITE libc-loader-tests - LOADER - libc.loader.linux.crt1 - SRCS - init_fini_array_test.cpp -) +if(${LIBC_TARGET_ARCHITECTURE} STREQUAL "x86_64") + add_integration_test( + init_fini_array_test + SUITE libc-loader-tests + LOADER + libc.loader.linux.crt1 + SRCS + init_fini_array_test.cpp + ) +endif()