Skip to content

Commit

Permalink
Merge "results file" and "results path"
Browse files Browse the repository at this point in the history
  • Loading branch information
stephane-caron committed Sep 2, 2024
1 parent 5f1a2e1 commit 05fd056
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ All notable changes to this project will be documented in this file.

### Added

- Add `results_file` argument to the `main` function
- Add `results_path` argument to the `main` function

### Changed

- CLI: Make results file an argument to all commands
- CLI: Make results path an argument to all commands
- Rename "include timeouts" argument to "rerun timeouts"

## [2.2.3] - 2024-08-14
Expand Down
4 changes: 2 additions & 2 deletions qpbenchmark/benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def parse_command_line_arguments(
"test_set_path", help="path to the test set Python source"
)
parser.add_argument(
"--results-file",
"--results-path",
help="path to a specific results CSV file to work with",
)
parser.add_argument(
Expand Down Expand Up @@ -217,7 +217,7 @@ def main(
if test_set_path is None:
test_set_path = args.test_set_path
test_set = load_test_set(os.path.abspath(test_set_path))
results = Results(args.results_file or results_path, test_set)
results = Results(args.results_path or results_path, test_set)

if args.command == "run":
run(
Expand Down

0 comments on commit 05fd056

Please sign in to comment.