File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44
55file (GLOB TESTS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*_test.toit" "*-test.toit" "*_test_slow.toit" "*-test-slow.toit" )
66
7- set (TOIT_EXEC "toit.run${CMAKE_EXECUTABLE_SUFFIX} " CACHE FILEPATH "The executable used to run the tests" )
8- set (TPKG_EXEC "toit.pkg${CMAKE_EXECUTABLE_SUFFIX} " CACHE FILEPATH "The executable used to install the packages" )
7+ set (TOIT_EXEC "toit${CMAKE_EXECUTABLE_SUFFIX} " CACHE FILEPATH "The executable used to run the tests" )
98set (TEST_TIMEOUT 40 CACHE STRING "The maximal amount of time each test is allowed to run" )
109set (SLOW_TEST_TIMEOUT 200 CACHE STRING "The maximal amount of time each slow test is allowed to run" )
1110
12- message ("TPKG: ${TPKG_EXEC} " )
1311add_custom_target (
1412 "install-pkgs"
15- COMMAND "${TPKG_EXEC} " install
13+ COMMAND "${TOIT_EXEC} " pkg install
1614 WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR} "
1715)
1816
You can’t perform that action at this time.
0 commit comments