test: Auto-detect new *.{tcl,ok} test cases in test and examples folders
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
This commit is contained in:
parent
c40b8b24bb
commit
d35d5661b4
|
|
@ -21,37 +21,18 @@ function(sta_example_test test_name)
|
|||
set_tests_properties(tcl.example.${test_name} PROPERTIES LABELS "tcl;example")
|
||||
endfunction()
|
||||
|
||||
# Public regression tests
|
||||
sta_tcl_test(disconnect_mcp_pin)
|
||||
sta_tcl_test(get_filter)
|
||||
sta_tcl_test(get_is_buffer)
|
||||
sta_tcl_test(get_is_memory)
|
||||
sta_tcl_test(get_lib_pins_of_objects)
|
||||
sta_tcl_test(get_noargs)
|
||||
sta_tcl_test(get_objrefs)
|
||||
sta_tcl_test(liberty_arcs_one2one_1)
|
||||
sta_tcl_test(liberty_arcs_one2one_2)
|
||||
sta_tcl_test(liberty_backslash_eol)
|
||||
sta_tcl_test(liberty_ccsn)
|
||||
sta_tcl_test(liberty_float_as_str)
|
||||
sta_tcl_test(liberty_latch3)
|
||||
sta_tcl_test(package_require)
|
||||
sta_tcl_test(path_group_names)
|
||||
sta_tcl_test(power_json)
|
||||
sta_tcl_test(prima3)
|
||||
sta_tcl_test(report_checks_sorted)
|
||||
sta_tcl_test(report_checks_src_attr)
|
||||
sta_tcl_test(report_json1)
|
||||
sta_tcl_test(report_json2)
|
||||
sta_tcl_test(suppress_msg)
|
||||
sta_tcl_test(verilog_attribute)
|
||||
sta_tcl_test(verilog_specify)
|
||||
# Auto-detect public tests: register all *.ok files that have a matching *.tcl
|
||||
file(GLOB ok_files "${TEST_DIR}/*.ok")
|
||||
foreach(ok_file ${ok_files})
|
||||
get_filename_component(test_name ${ok_file} NAME_WE)
|
||||
if(EXISTS "${TEST_DIR}/${test_name}.tcl")
|
||||
sta_tcl_test(${test_name})
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
# Example tests
|
||||
sta_example_test(delay_calc)
|
||||
sta_example_test(min_max_delays)
|
||||
sta_example_test(multi_corner)
|
||||
sta_example_test(power)
|
||||
sta_example_test(power_vcd)
|
||||
sta_example_test(sdf_delays)
|
||||
sta_example_test(spef_parasitics)
|
||||
# Auto-detect example tests: register all *.tcl files in examples/
|
||||
file(GLOB example_tcl_files "${EXAMPLES_DIR}/*.tcl")
|
||||
foreach(tcl_file ${example_tcl_files})
|
||||
get_filename_component(test_name ${tcl_file} NAME_WE)
|
||||
sta_example_test(${test_name})
|
||||
endforeach()
|
||||
|
|
|
|||
Loading…
Reference in New Issue