Skip to content

Commit 75bcd9e

Browse files
committed
Use 'toit' instead of 'toit.run' and 'toit.pkg'.
1 parent 005fe9e commit 75bcd9e

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

tests/CMakeLists.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,13 @@
44

55
file(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")
98
set(TEST_TIMEOUT 40 CACHE STRING "The maximal amount of time each test is allowed to run")
109
set(SLOW_TEST_TIMEOUT 200 CACHE STRING "The maximal amount of time each slow test is allowed to run")
1110

12-
message("TPKG: ${TPKG_EXEC}")
1311
add_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

0 commit comments

Comments
 (0)