Skip to content

Commit 29cea73

Browse files
authored
Merge pull request #294 from The-OpenROAD-Project-staging/secure-sta-test-by-opus
Add new Tcl and C++ test cases
2 parents 438633d + bb186c3 commit 29cea73

748 files changed

Lines changed: 688382 additions & 287 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

dcalc/test/cpp/CMakeLists.txt

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,20 @@ gtest_discover_tests(TestFindRoot
1414
WORKING_DIRECTORY ${STA_HOME}
1515
PROPERTIES LABELS "cpp\;module_dcalc"
1616
)
17+
18+
add_executable(TestDcalc TestDcalc.cc)
19+
target_link_libraries(TestDcalc
20+
OpenSTA
21+
GTest::gtest
22+
GTest::gtest_main
23+
${TCL_LIBRARY}
24+
)
25+
target_include_directories(TestDcalc PRIVATE
26+
${STA_HOME}/include/sta
27+
${STA_HOME}
28+
${CMAKE_BINARY_DIR}/include/sta
29+
)
30+
gtest_discover_tests(TestDcalc
31+
WORKING_DIRECTORY ${STA_HOME}
32+
PROPERTIES LABELS "cpp\;module_dcalc"
33+
)

0 commit comments

Comments
 (0)