Skip to content

Commit 307ca57

Browse files
domin144nashif
authored andcommitted
tests with picolibc: disable large tests
1 parent 8b6e1e9 commit 307ca57

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

libcxx/cmake/caches/Armv7M-picolibc.cmake

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ set(LIBCXXABI_ENABLE_SHARED OFF CACHE BOOL "")
1818
set(LIBCXXABI_ENABLE_STATIC ON CACHE BOOL "")
1919
set(LIBCXXABI_ENABLE_STATIC_UNWINDER ON CACHE BOOL "")
2020
set(LIBCXXABI_ENABLE_THREADS OFF CACHE BOOL "")
21+
# Long tests are prohibitively slow when run via emulation.
22+
# The emulated target has limited memory.
23+
set(LIBCXXABI_TEST_PARAMS "long_tests=False;large_tests=False" CACHE STRING "")
2124
set(LIBCXXABI_USE_COMPILER_RT ON CACHE BOOL "")
2225
set(LIBCXX_ENABLE_EXCEPTIONS ON CACHE BOOL "")
2326
set(LIBCXX_ENABLE_FILESYSTEM OFF CACHE STRING "")
@@ -30,12 +33,16 @@ set(LIBCXX_ENABLE_THREADS OFF CACHE BOOL "")
3033
set(LIBCXX_ENABLE_WIDE_CHARACTERS OFF CACHE BOOL "")
3134
set(LIBCXX_INCLUDE_BENCHMARKS OFF CACHE BOOL "")
3235
# Long tests are prohibitively slow when run via emulation.
33-
set(LIBCXX_TEST_PARAMS "long_tests=False" CACHE STRING "")
36+
# The emulated target has limited memory.
37+
set(LIBCXX_TEST_PARAMS "long_tests=False;large_tests=False" CACHE STRING "")
3438
set(LIBCXX_USE_COMPILER_RT ON CACHE BOOL "")
3539
set(LIBUNWIND_ENABLE_SHARED OFF CACHE BOOL "")
3640
set(LIBUNWIND_ENABLE_STATIC ON CACHE BOOL "")
3741
set(LIBUNWIND_ENABLE_THREADS OFF CACHE BOOL "")
3842
set(LIBUNWIND_IS_BAREMETAL ON CACHE BOOL "")
3943
set(LIBUNWIND_REMEMBER_HEAP_ALLOC ON CACHE BOOL "")
44+
# Long tests are prohibitively slow when run via emulation.
45+
# The emulated target has limited memory.
46+
set(LIBUNWIND_TEST_PARAMS "long_tests=False;large_tests=False" CACHE STRING "")
4047
set(LIBUNWIND_USE_COMPILER_RT ON CACHE BOOL "")
4148
find_program(QEMU_SYSTEM_ARM qemu-system-arm REQUIRED)

libcxxabi/test/test_demangle.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//===----------------------------------------------------------------------===//
88

99
// This test is too big for most embedded devices.
10-
// XFAIL: LIBCXX-PICOLIBC-FIXME
10+
// REQUIRES: large_tests
1111

1212
// https://llvm.org/PR51407 was not fixed in some previously-released
1313
// demanglers, which causes them to run into the infinite loop.

0 commit comments

Comments
 (0)