Replay: Fix --upload-only (#25127)

Add checking for list back
pull/25130/head
Gijs Koning 3 years ago committed by GitHub
parent 4d7b7483d7
commit f0b5ff5c1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      selfdrive/test/process_replay/test_processes.py

@ -217,7 +217,8 @@ if __name__ == "__main__":
results: Any = defaultdict(dict) results: Any = defaultdict(dict)
p2 = pool.map(run_test_process, pool_args) p2 = pool.map(run_test_process, pool_args)
for (segment, proc, subtest_name, result) in tqdm(p2, desc="Running Tests", total=len(pool_args)): for (segment, proc, subtest_name, result) in tqdm(p2, desc="Running Tests", total=len(pool_args)):
results[segment][proc + subtest_name] = result if isinstance(result, list):
results[segment][proc + subtest_name] = result
diff1, diff2, failed = format_diff(results, ref_commit) diff1, diff2, failed = format_diff(results, ref_commit)
if not upload: if not upload:

Loading…
Cancel
Save