diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index d1ef91bb4..7a00881dd 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -176,3 +176,8 @@ add_subdirectory(pkg) add_subdirectory(envelope) add_subdirectory(toitdoc) add_subdirectory(dependencies) + +# Add the pi-tests so that its packages are downloaded. +# This is only necessary for the health tests, since the tests themselves +# have a different cmake entry point in the hw directory. +toit_project(pi-tests "${CMAKE_CURRENT_LIST_DIR}/hw/pi")