Skip to content

Commit

Permalink
ci: Make ctest logging verbose on ARM
Browse files Browse the repository at this point in the history
Without this CTest only prints tests that fail so MTE check failures logged by
QEMU won't show up unless the test fails for another reason.
  • Loading branch information
ayrtonm authored and fw-immunant committed Jun 4, 2024
1 parent 9897cd9 commit 50ba9c5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,11 @@ set_target_properties(check-ia2 PROPERTIES FOLDER "tests")

set(CMAKE_EXPORT_COMPILE_COMMANDS ON)

# Set up 'check' target and check-exec on arm
# Set up 'check' target
if (LIBIA2_AARCH64)
# On aarch64, avoid swallowing QEMU MTE check failures
set(CMAKE_CTEST_COMMAND ${CMAKE_CTEST_COMMAND} --verbose)
endif()
add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND} --output-on-failure)
if (NOT LIBIA2_AARCH64)
add_dependencies(check check-ia2)
Expand Down

0 comments on commit 50ba9c5

Please sign in to comment.