diff --git a/selfdrive/test/process_replay/test_processes.py b/selfdrive/test/process_replay/test_processes.py index ce968135a0..2a005cf4cc 100755 --- a/selfdrive/test/process_replay/test_processes.py +++ b/selfdrive/test/process_replay/test_processes.py @@ -177,8 +177,8 @@ if __name__ == "__main__": upload = args.update_refs or args.upload_only os.makedirs(os.path.dirname(FAKEDATA), exist_ok=True) - # if upload: - # assert full_test, "Need to run full test when updating refs" + if upload: + assert full_test, "Need to run full test when updating refs" try: ref_commit = open(REF_COMMIT_FN).read().strip() @@ -248,10 +248,6 @@ if __name__ == "__main__": print("TEST SUCCEEDED") else: - # if failed: - # print(diff1) - # print("FAILED TO UPDATE REFS") - # else: with open(REF_COMMIT_FN, "w") as f: f.write(cur_commit) print(f"\n\nUpdated reference logs for commit: {cur_commit}")