minor validate.py fix
This commit is contained in:
@@ -174,9 +174,6 @@ def main():
|
||||
# Summary
|
||||
n_passed = sum(1 for passed in results.values() if passed)
|
||||
n_total = len(results)
|
||||
print("\n" + Style.BRIGHT + Fore.CYAN + "Summary" + Style.RESET_ALL)
|
||||
print(Style.BRIGHT + f"Passed: {n_passed}" + Style.RESET_ALL)
|
||||
print(Style.BRIGHT + f"Failed: {n_total - n_passed}" + Style.RESET_ALL)
|
||||
failing = [rel for rel, passed in results.items() if not passed]
|
||||
if a.verbose or failing:
|
||||
status_width = len("Result")
|
||||
@@ -193,6 +190,9 @@ def main():
|
||||
Fore.RED + plain_status.ljust(status_width) + Style.RESET_ALL
|
||||
print(f"| {rel.ljust(path_width)} | {status} |")
|
||||
print(separator)
|
||||
print("\n" + Style.BRIGHT + Fore.CYAN + "Summary" + Style.RESET_ALL)
|
||||
print(Style.BRIGHT + f"Passed: {n_passed}" + Style.RESET_ALL)
|
||||
print(Style.BRIGHT + f"Failed: {n_total - n_passed}" + Style.RESET_ALL)
|
||||
if a.verbose:
|
||||
print_average_pim_pass_timings(
|
||||
pass_timing_sums,
|
||||
|
||||
Reference in New Issue
Block a user