record_sta_tests
Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
parent
8acd1f3f35
commit
e7e29694ab
|
|
@ -55,7 +55,18 @@ proc record_test { test cmd_dir } {
|
||||||
return $test
|
return $test
|
||||||
}
|
}
|
||||||
|
|
||||||
# Record a test in the $STA/examples directory.
|
# Record tests in the $STA/test directory.
|
||||||
|
proc record_sta_tests { tests } {
|
||||||
|
global test_dir
|
||||||
|
foreach test $tests {
|
||||||
|
# Prune commented tests from the list.
|
||||||
|
if { [string index $test 0] != "#" } {
|
||||||
|
record_test $test $test_dir
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
# Record tests in the $STA/examples directory.
|
||||||
proc record_example_tests { tests } {
|
proc record_example_tests { tests } {
|
||||||
global test_dir test_groups
|
global test_dir test_groups
|
||||||
set example_dir [file join $test_dir ".." "examples"]
|
set example_dir [file join $test_dir ".." "examples"]
|
||||||
|
|
@ -110,4 +121,7 @@ record_example_tests {
|
||||||
power_vcd
|
power_vcd
|
||||||
}
|
}
|
||||||
|
|
||||||
|
record_sta_tests {
|
||||||
|
}
|
||||||
|
|
||||||
define_test_group fast [group_tests all]
|
define_test_group fast [group_tests all]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue