message: run_tests.py: Added print of passed tests number and passrate
diff: @@ -803,6 +803,13 @@ def run_tests(options1, args, print_version):
  if options.non_interactive:
  print_debug(" Done %d / %d\n" % (finished_tests_counter.value, total_tests), s, run_tests_log)
  +
  + # Pass rate
  + run_succeed_files = [fname for fname, fstatus in results if fstatus == Status.Success]
  + skip_files = [fname for fname, fstatus in results if fstatus == Status.Skip]
  + pass_rate = len(run_succeed_files)/(total_tests-len(skip_files))*100
  + print_debug("PASSRATE %d%% \n" % pass_rate, s, run_tests_log)
  +
  for status in Status:
  print_result(status, results, s, run_tests_log, options.csv)
  fails = [status != Status.Compfail and status != Status.Runfail for _, status in results]
  