> configure(npc)

ysyx_22040000 李心杨
 Linux calcite 6.6.19 #1-NixOS SMP PREEMPT_DYNAMIC Fri Mar  1 12:35:11 UTC 2024 x86_64 GNU/Linux
  15:34:14  up   0:53,  2 users,  load average: 1.68, 1.49, 1.19
This commit is contained in:
tracer-ysyx 2024-03-07 15:34:14 +08:00 committed by xinyangli
parent 79050953dd
commit 08109959b6

View file

@ -84,15 +84,15 @@ foreach(TOPMODULE IN LISTS TOPMODULES)
add_dependencies(V${TOPMODULE} ChiselBuild_${TOPMODULE})
enable_testing()
# add_test(V${TOPMODULE}_build
# "${CMAKE_COMMAND}"
# --build "${CMAKE_BINARY_DIR}"
# --config "$<CONFIG>"
# --target V${TOPMODULE}
# )
# set_tests_properties(V${TOPMODULE}_build PROPERTIES FIXTURES_SETUP V${TOPMODULE}_fixture)
add_test(V${TOPMODULE}_build
"${CMAKE_COMMAND}"
--build "${CMAKE_BINARY_DIR}"
--config "$<CONFIG>"
--target V${TOPMODULE}
)
set_tests_properties(V${TOPMODULE}_build PROPERTIES FIXTURES_SETUP V${TOPMODULE}_fixture)
add_test(NAME V${TOPMODULE} COMMAND V${TOPMODULE})
# set_tests_properties(V${TOPMODULE} PROPERTIES FIXTURES_REQUIRED V${TOPMODULE}_fixture)
set_tests_properties(V${TOPMODULE} PROPERTIES FIXTURES_REQUIRED V${TOPMODULE}_fixture)
# -- Add build tracking
add_custom_command(