Posted to tcl by djcybermyth at Tue Apr 24 16:13:18 GMT 2012view raw
- proc run_test_list {args} {
- reset_tests
- puts "Running [llength $args] tests."
- print_test_banner
- foreach test $args {
- run_test $test
- }
- print_test_results
- }
- if {[llength $testnames] > 0} {
- puts "Got [llength $testnames] tests."
- run_test_list $testnames
- } else {
- run_all_tests
- }