test: Make ctest run C++ unit tests

Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
This commit is contained in:
Jaehyun Kim 2026-02-27 09:51:10 +09:00
parent 72e3eaddba
commit 9bbac53157
12 changed files with 13 additions and 13 deletions

View File

@ -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"
)

View File

@ -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"
)

View File

@ -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()

View File

@ -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()

View File

@ -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"
)

View File

@ -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"
)

View File

@ -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()

View File

@ -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"
)

View File

@ -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()

View File

@ -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"
)

View File

@ -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"
)

View File

@ -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"
)