deps: the pins advance, and a missing interpreter skips rather than vanishes

libavr and pureboot move to the tips that register their checks everywhere.
fantemp.reachability stops being wrapped in `if(Python3_FOUND)`: it is
registered on every host now and skips where the interpreter is absent, so what
`ctest -N` counts is a fact about this repository rather than about the machine
that configured it.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-02 21:37:44 +02:00
parent 88df1c1ada
commit fb82f0f7a9
3 changed files with 14 additions and 12 deletions

2
libavr

Submodule libavr updated: b62d6b5b30...8521f48a33

View File

@@ -20,13 +20,15 @@ add_test(NAME fantemp.consteval
# The board has no reset line and no programming header, so the loader-entry # The board has no reset line and no programming header, so the loader-entry
# route in the emitted image is the only thing standing between a firmware change # route in the emitted image is the only thing standing between a firmware change
# and an unreflashable board. # and an unreflashable board.
find_package(Python3 COMPONENTS Interpreter) # A check whose interpreter this host lacks is registered and *skips*, rather
if(Python3_FOUND) # than leaving the suite a different size on a different machine - which is a
add_test(NAME fantemp.reachability # suite nothing can be compared against. The launcher and the marker are
COMMAND ${Python3_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/check_reachability.py # libavr's (`cmake/checks.cmake`).
--objdump ${CMAKE_OBJDUMP} --elf $<TARGET_FILE:fantemp> libavr_launcher(_python "${LIBAVR_NO_PYTHON}" ${Python3_EXECUTABLE})
--image $<TARGET_FILE_DIR:fantemp>/fantemp.bin add_test(NAME fantemp.reachability
--loader-base ${PUREBOOT_BASE_HEX}) COMMAND ${_python} ${CMAKE_CURRENT_SOURCE_DIR}/check_reachability.py
else() --objdump ${CMAKE_OBJDUMP} --elf $<TARGET_FILE:fantemp>
message(STATUS "Python not found - the reachability check is skipped") --image $<TARGET_FILE_DIR:fantemp>/fantemp.bin
endif() --loader-base ${PUREBOOT_BASE_HEX})
libavr_skip_unverified()