Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sw/cmake/tests.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ set(ARCHS_FLAGS VANILLA_FLAGS CHERI_FLAGS ) # Flags
# the output executable name and all of the libraries it is linked against.
macro(mocha_add_test)
# parse arguments
set(options FPGA)
set(options FPGA SKIP_VERILATOR)
set(one_value_args NAME)
set(multi_value_args SOURCES LIBRARIES)
cmake_parse_arguments(arg "${options}"
Expand All @@ -83,7 +83,7 @@ macro(mocha_add_test)
# create artefacts
mocha_add_executable_artefacts(${NAME})

if(SIM)
if(SIM AND NOT arg_SKIP_VERILATOR)
mocha_add_verilator_test(${NAME})
endif()

Expand Down