Skip to content

Commit

Permalink
Update check-commits script
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaut committed Jul 17, 2024
1 parent 8757f1f commit 55e76e6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions support/check-commits
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ with tempfile.TemporaryDirectory() as work_dir:
for commit in commits:
check_call(['git', '-c', 'advice.detachedHead=false', 'checkout', commit],
cwd=repo_dir)
return_code = run(
returncode = run(
['c++', '-std=c++11', '-O3', '-DNDEBUG', '-I', 'include',
'src/format.cc', os.path.join(cwd, source)], cwd=repo_dir).return_code
if return_code != 0:
'src/format.cc', os.path.join(cwd, source)], cwd=repo_dir).returncode
if returncode != 0:
continue
times = []
for i in range(5):
Expand Down

0 comments on commit 55e76e6

Please sign in to comment.