From 9bbac53157b402de2dfea952605602e6b6d1fdc6 Mon Sep 17 00:00:00 2001 From: Jaehyun Kim Date: Fri, 27 Feb 2026 09:51:10 +0900 Subject: [PATCH] test: Make ctest run C++ unit tests Signed-off-by: Jaehyun Kim --- dcalc/test/cpp/CMakeLists.txt | 4 ++-- graph/test/cpp/CMakeLists.txt | 2 +- liberty/test/cpp/CMakeLists.txt | 2 +- network/test/cpp/CMakeLists.txt | 2 +- parasitics/test/cpp/CMakeLists.txt | 2 +- power/test/cpp/CMakeLists.txt | 2 +- sdc/test/cpp/CMakeLists.txt | 2 +- sdf/test/cpp/CMakeLists.txt | 2 +- search/test/cpp/CMakeLists.txt | 2 +- spice/test/cpp/CMakeLists.txt | 2 +- util/test/cpp/CMakeLists.txt | 2 +- verilog/test/cpp/CMakeLists.txt | 2 +- 12 files changed, 13 insertions(+), 13 deletions(-) diff --git a/dcalc/test/cpp/CMakeLists.txt b/dcalc/test/cpp/CMakeLists.txt index 6c8151ad..11cbf4ef 100644 --- a/dcalc/test/cpp/CMakeLists.txt +++ b/dcalc/test/cpp/CMakeLists.txt @@ -12,7 +12,7 @@ target_include_directories(TestFindRoot PRIVATE ) gtest_discover_tests(TestFindRoot WORKING_DIRECTORY ${STA_HOME} - PROPERTIES LABELS "cpp;module_dcalc" + PROPERTIES LABELS "cpp\;module_dcalc" ) add_executable(TestDcalc TestDcalc.cc) @@ -29,5 +29,5 @@ target_include_directories(TestDcalc PRIVATE ) gtest_discover_tests(TestDcalc WORKING_DIRECTORY ${STA_HOME} - PROPERTIES LABELS "cpp;module_dcalc" + PROPERTIES LABELS "cpp\;module_dcalc" ) diff --git a/graph/test/cpp/CMakeLists.txt b/graph/test/cpp/CMakeLists.txt index aa813d72..8fb6babc 100644 --- a/graph/test/cpp/CMakeLists.txt +++ b/graph/test/cpp/CMakeLists.txt @@ -12,5 +12,5 @@ target_include_directories(TestGraph PRIVATE ) gtest_discover_tests(TestGraph WORKING_DIRECTORY ${STA_HOME} - PROPERTIES LABELS "cpp;module_graph" + PROPERTIES LABELS "cpp\;module_graph" ) diff --git a/liberty/test/cpp/CMakeLists.txt b/liberty/test/cpp/CMakeLists.txt index e765e81a..8446ec2d 100644 --- a/liberty/test/cpp/CMakeLists.txt +++ b/liberty/test/cpp/CMakeLists.txt @@ -13,7 +13,7 @@ macro(sta_cpp_test name) ) gtest_discover_tests(${name} WORKING_DIRECTORY ${STA_HOME} - PROPERTIES LABELS "cpp;module_liberty" + PROPERTIES LABELS "cpp\;module_liberty" ) endmacro() diff --git a/network/test/cpp/CMakeLists.txt b/network/test/cpp/CMakeLists.txt index 1c26b381..499a1564 100644 --- a/network/test/cpp/CMakeLists.txt +++ b/network/test/cpp/CMakeLists.txt @@ -13,7 +13,7 @@ macro(sta_cpp_test name) ) gtest_discover_tests(${name} WORKING_DIRECTORY ${STA_HOME} - PROPERTIES LABELS "cpp;module_network" + PROPERTIES LABELS "cpp\;module_network" ) endmacro() diff --git a/parasitics/test/cpp/CMakeLists.txt b/parasitics/test/cpp/CMakeLists.txt index fe2765d7..1d320fe6 100644 --- a/parasitics/test/cpp/CMakeLists.txt +++ b/parasitics/test/cpp/CMakeLists.txt @@ -12,5 +12,5 @@ target_include_directories(TestParasitics PRIVATE ) gtest_discover_tests(TestParasitics WORKING_DIRECTORY ${STA_HOME} - PROPERTIES LABELS "cpp;module_parasitics" + PROPERTIES LABELS "cpp\;module_parasitics" ) diff --git a/power/test/cpp/CMakeLists.txt b/power/test/cpp/CMakeLists.txt index c3add231..2016bebc 100644 --- a/power/test/cpp/CMakeLists.txt +++ b/power/test/cpp/CMakeLists.txt @@ -12,5 +12,5 @@ target_include_directories(TestPower PRIVATE ) gtest_discover_tests(TestPower WORKING_DIRECTORY ${STA_HOME} - PROPERTIES LABELS "cpp;module_power" + PROPERTIES LABELS "cpp\;module_power" ) diff --git a/sdc/test/cpp/CMakeLists.txt b/sdc/test/cpp/CMakeLists.txt index 65d885ca..b633359c 100644 --- a/sdc/test/cpp/CMakeLists.txt +++ b/sdc/test/cpp/CMakeLists.txt @@ -13,7 +13,7 @@ macro(sta_cpp_test name) ) gtest_discover_tests(${name} WORKING_DIRECTORY ${STA_HOME} - PROPERTIES LABELS "cpp;module_sdc" + PROPERTIES LABELS "cpp\;module_sdc" ) endmacro() diff --git a/sdf/test/cpp/CMakeLists.txt b/sdf/test/cpp/CMakeLists.txt index de33e7a4..21135d2e 100644 --- a/sdf/test/cpp/CMakeLists.txt +++ b/sdf/test/cpp/CMakeLists.txt @@ -12,5 +12,5 @@ target_include_directories(TestSdf PRIVATE ) gtest_discover_tests(TestSdf WORKING_DIRECTORY ${STA_HOME} - PROPERTIES LABELS "cpp;module_sdf" + PROPERTIES LABELS "cpp\;module_sdf" ) diff --git a/search/test/cpp/CMakeLists.txt b/search/test/cpp/CMakeLists.txt index 5d0ba15e..1f0b7a52 100644 --- a/search/test/cpp/CMakeLists.txt +++ b/search/test/cpp/CMakeLists.txt @@ -13,7 +13,7 @@ macro(sta_cpp_test name) ) gtest_discover_tests(${name} WORKING_DIRECTORY ${STA_HOME} - PROPERTIES LABELS "cpp;module_search" + PROPERTIES LABELS "cpp\;module_search" ) endmacro() diff --git a/spice/test/cpp/CMakeLists.txt b/spice/test/cpp/CMakeLists.txt index 0cdf1c2d..1504e8ee 100644 --- a/spice/test/cpp/CMakeLists.txt +++ b/spice/test/cpp/CMakeLists.txt @@ -13,5 +13,5 @@ target_include_directories(TestSpice PRIVATE ) gtest_discover_tests(TestSpice WORKING_DIRECTORY ${STA_HOME} - PROPERTIES LABELS "cpp;module_spice" + PROPERTIES LABELS "cpp\;module_spice" ) diff --git a/util/test/cpp/CMakeLists.txt b/util/test/cpp/CMakeLists.txt index 816926f3..54f0d8e1 100644 --- a/util/test/cpp/CMakeLists.txt +++ b/util/test/cpp/CMakeLists.txt @@ -12,5 +12,5 @@ target_include_directories(TestUtil PRIVATE ) gtest_discover_tests(TestUtil WORKING_DIRECTORY ${STA_HOME} - PROPERTIES LABELS "cpp;module_util" + PROPERTIES LABELS "cpp\;module_util" ) diff --git a/verilog/test/cpp/CMakeLists.txt b/verilog/test/cpp/CMakeLists.txt index 96dbd455..bc2ff486 100644 --- a/verilog/test/cpp/CMakeLists.txt +++ b/verilog/test/cpp/CMakeLists.txt @@ -12,5 +12,5 @@ target_include_directories(TestVerilog PRIVATE ) gtest_discover_tests(TestVerilog WORKING_DIRECTORY ${STA_HOME} - PROPERTIES LABELS "cpp;module_verilog" + PROPERTIES LABELS "cpp\;module_verilog" )