Skip to content

Commit

Permalink
fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
floitsch committed Dec 11, 2024
1 parent f5908bc commit e212492
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/hw/pi/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ file(GLOB TOIT_TESTS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*-test.toit")

set(PI_TOIT_EXE "" CACHE FILEPATH "The executable used to run pi tests")

if (NOT PI_TOIT_EXE)
message(FATAL_ERROR "PI_TOIT_EXE not set")
endif()

add_custom_target(
check_pi
COMMAND ${CMAKE_CTEST_COMMAND} -j1 -T test -C pi --output-on-failure
Expand All @@ -34,7 +30,7 @@ foreach(file ${TOIT_TESTS})

add_test(
NAME ${file}
COMMAND ${PI_TOIT_EXE} ${toit_file}
COMMAND "${PI_TOIT_EXE}" ${toit_file}
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
CONFIGURATIONS pi
)
Expand Down

0 comments on commit e212492

Please sign in to comment.