From 490a836dd6882d7db91b47d19bc06ccdc3cabd45 Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Thu, 2 Jun 2022 13:49:21 -0700 Subject: [PATCH] process replay: fix updating refs (#24716) fix updating refs old-commit-hash: 90af436a121164a51da9fa48d093c29f738adf6a --- selfdrive/test/process_replay/test_processes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/test/process_replay/test_processes.py b/selfdrive/test/process_replay/test_processes.py index 1d5969b1ec..1d91d3ba16 100755 --- a/selfdrive/test/process_replay/test_processes.py +++ b/selfdrive/test/process_replay/test_processes.py @@ -160,7 +160,7 @@ if __name__ == "__main__": tested_cars = set(args.whitelist_cars) - set(args.blacklist_cars) tested_cars = {c.upper() for c in tested_cars} - full_test = all(len(x) == 0 for x in (args.whitelist_procs, args.whitelist_cars, args.blacklist_procs, args.blacklist_cars, args.ignore_fields, args.ignore_msgs)) + full_test = (tested_procs == all_procs) and (tested_cars == all_cars) and all(len(x) == 0 for x in (args.ignore_fields, args.ignore_msgs)) upload = args.update_refs or args.upload_only os.makedirs(os.path.dirname(FAKEDATA), exist_ok=True)