Merge remote-tracking branch 'parallax_sta/master' into sta_update_latest_0505

This commit is contained in:
dsengupta0628
2026-05-05 17:06:10 +00:00
10 changed files with 119 additions and 57 deletions

View File

@@ -156,11 +156,8 @@ proc expand_tests { argv } {
lappend tests $test
}
}
} elseif { [lsearch [group_tests "all"] $arg] != -1 } {
lappend tests $arg
} else {
puts "Error: test $arg not found."
incr errors(no_cmd)
lappend tests $arg
}
}
return $tests
@@ -525,15 +522,11 @@ proc show_summary {} {
if { $valgrind_shared_lib_failure } {
puts "WARNING: valgrind failed because the executable is not statically linked."
}
puts "See $result_dir for log files"
set test_count [llength $tests]
if { [found_errors] } {
if { $errors(error) != 0 } {
puts "Errored $errors(error)/$test_count"
}
if { $errors(fail) != 0 } {
puts "Failed $errors(fail)/$test_count"
}
if { $errors(leak) != 0 } {
puts "Memory leaks in $errors(leak)/$test_count"
}
@@ -547,7 +540,7 @@ proc show_summary {} {
puts "No cmd tcl file for $errors(no_cmd)/$test_count"
}
if { $errors(fail) != 0 } {
puts "See $diff_file for differences"
puts "Failed $errors(fail)/$test_count"
}
} else {
puts "Passed $test_count"