File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed 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- # Add windows exe extension.
8- set (TOIT_EXEC "toit.run${CMAKE_EXECUTABLE_SUFFIX} " CACHE FILEPATH "The executable used to run the tests" )
9- 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" )
108set (TEST_TIMEOUT 40 CACHE STRING "The maximal amount of time each test is allowed to run" )
119set (SLOW_TEST_TIMEOUT 200 CACHE STRING "The maximal amount of time each slow test is allowed to run" )
1210
13- message ("TPKG: ${TPKG_EXEC} " )
1411add_custom_target (
1512 "install-pkgs"
16- COMMAND "${TPKG_EXEC} " install
13+ COMMAND "${TOIT_EXEC} " pkg install
1714 WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR} "
1815)
1916
You can’t perform that action at this time.
0 commit comments