test: Make ctest run C++ unit tests
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
This commit is contained in:
parent
72e3eaddba
commit
9bbac53157
|
|
@ -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"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue