> 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:28:27  up   0:47,  2 users,  load average: 1.10, 0.97, 0.99
This commit is contained in:
tracer-ysyx 2024-03-07 15:28:27 +08:00 committed by xinyangli
parent b8c611ba60
commit 57b2248f8a

View file

@ -83,8 +83,15 @@ foreach(TOPMODULE IN LISTS TOPMODULES)
add_dependencies(V${TOPMODULE} ChiselBuild_${TOPMODULE}) add_dependencies(V${TOPMODULE} ChiselBuild_${TOPMODULE})
enable_testing() enable_testing()
add_test(NAME V${TOPMODULE}_test COMMAND V${TOPMODULE}) add_test(V${TOPMODULE}_build
set_tests_properties(V${TOPMODULE}_test PROPERTIES DEPENDS V${TOPMODULE}) "${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)
# -- Add build tracking # -- Add build tracking
add_custom_command( add_custom_command(