Skip to content

Commit

Permalink
src/bin/sage-runtests: Generalize argparse hack
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Dec 21, 2023
1 parent 0bd0077 commit 5fc07c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/bin/sage-runtests
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,8 @@ if __name__ == "__main__":
in_filenames = True
new_arguments.append('--')
new_arguments.append(arg)
afterlog = bool(arg == '--logfile')
afterlog = arg in ['--logfile', '--stats_path', '--stats-path',
'--baseline_stats_path', '--baseline-stats-path']

args = parser.parse_args(new_arguments)

Expand Down

0 comments on commit 5fc07c7

Please sign in to comment.