Skip to content

Commit 3fdd668

Browse files
authored
[ATfE] Increase timeout for all picolibc tests using FVPs (#578)
The picolibc tests generally take longer to run using FVPs compared to using qemu, in addition to certain variants being specifically slower by the nature of what they enable.
1 parent 41b7ddc commit 3fdd668

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

arm-software/embedded/arm-runtimes/CMakeLists.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,12 @@ if(C_LIBRARY STREQUAL picolibc)
502502

503503
# Timeout multipliers. The actual timeout value used in testing is:
504504
# Timeout in seconds (defined in the picolibc's testing specs) x Timeout multiplier
505-
if(LIBRARY_MESON_BUILD_TYPE STREQUAL minsize AND COMPILE_FLAGS MATCHES "-mbranch-protection=pac-ret\\+bti")
505+
# In general, tests execute slower with FVPs compared to qemu. However certain
506+
# variants can also be slower due to features enabled, for example:
507+
# * Armv6m big-endian
508+
# * Armv7m big-endian
509+
# * Armv8.1-M Main PACBTI optimized for code size
510+
if(TEST_EXECUTOR STREQUAL fvp)
506511
set(timeout_multiplier 2)
507512
else()
508513
set(timeout_multiplier 1)

0 commit comments

Comments
 (0)