process replay: fix updating refs (#24716)

fix updating refs
old-commit-hash: 90af436a12
taco
Shane Smiskol 3 years ago committed by GitHub
parent 393ce7cfeb
commit 490a836dd6
  1. 2
      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)

Loading…
Cancel
Save