From 08109959b6e68381e6850c1a09e2e92f7f937618 Mon Sep 17 00:00:00 2001 From: tracer-ysyx Date: Thu, 7 Mar 2024 15:34:14 +0800 Subject: [PATCH] =?UTF-8?q?>=20configure(npc)=20=20ysyx=5F22040000=20?= =?UTF-8?q?=E6=9D=8E=E5=BF=83=E6=9D=A8=20=20Linux=20calcite=206.6.19=20#1-?= =?UTF-8?q?NixOS=20SMP=20PREEMPT=5FDYNAMIC=20Fri=20Mar=20=201=2012:35:11?= =?UTF-8?q?=20UTC=202024=20x86=5F64=20GNU/Linux=20=20=2015:34:14=20=20up?= =?UTF-8?q?=20=20=200:53,=20=202=20users,=20=20load=20average:=201.68,=201?= =?UTF-8?q?.49,=201.19?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- npc/CMakeLists.txt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/npc/CMakeLists.txt b/npc/CMakeLists.txt index a2278a9..97cdfd4 100644 --- a/npc/CMakeLists.txt +++ b/npc/CMakeLists.txt @@ -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 "$" - # --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 "$" + --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(