Commit Graph
425 Commits
Author SHA1 Message Date
David Peter b5a6860d96 Support list of exit codes in --ignore-failure 2025-11-18 09:19:27 +01:00
David Peter de07c77387 Formatting 2025-09-04 08:59:11 +02:00
David Peter fae8b0ef64 .contains(…) 2025-09-03 20:52:28 +02:00
David Peter 98d262c497 Fix warnings 2025-09-03 20:51:44 +02:00
Niklas Dewally 2166c9f02e Add option to name reference command
Add --reference-name option to give a reference command a name.

This was discussed in the PR that added --reference, #744, but
was unfortunately never implemented.
2025-09-03 20:45:39 +02:00
Teodoro Freund 835fc43ea1 Fixed bug on naming individual commands with parameter scan 2025-09-03 20:44:07 +02:00
David Peter ebcf794d97 Clippy 2024-12-29 14:07:21 +01:00
David Peter 038f369420 SortOrder field 2024-12-29 14:07:21 +01:00
David Peter 0705d6c7d0 Basic scheduler test 2024-12-29 14:07:21 +01:00
David Peter 0d2e3a4dd7 Simplify CSV tests 2024-12-29 14:07:21 +01:00
David Peter da399ab654 Move more tests to insta 2024-12-29 14:07:21 +01:00
David Peter 7a9d04d35c Use insta for exporter tests 2024-12-29 14:07:21 +01:00
David Peter 6556b2bd46 Initial work on tracking memory usage 2024-12-29 12:18:55 +01:00
David Peter 99d24b7a2e Multiple output policies 2024-11-11 22:24:25 +01:00
David Carlier 2899deb8fd apply clippy advices on executor/commands lifetimes. 2024-11-11 08:47:33 +01:00
David Peter 2efc633486 Update dependencies 2024-11-10 22:57:23 +01:00
David Peter 83f04cdd31 Add iteration information to failure error message 2024-11-10 22:26:13 +01:00
David Carlier f096c266f0 fix build warning proposal
```rust
warning: elided lifetime has a name
   --> src/command.rs:137:66
    |
136 | impl<'a> Commands<'a> {
    |      -- lifetime `'a` declared here
137 |     pub fn from_cli_arguments(matches: &'a ArgMatches) -> Result<Commands> {
    |                                                                  ^^^^^^^^ this elided lifetime gets resolved as `'
```
2024-11-10 20:45:03 +01:00
Jan-Eric Nitschke 13547e973c Change message for identical time and add test for it 2024-06-30 22:45:40 +02:00
Jan-Eric Nitschke d4749b015f Fix prepare and conclude behaviour and add tests. 2024-06-30 22:45:40 +02:00
Jan-Eric Nitschke 9806ed7694 Added option to manually specify a reference to compare the results to. 2024-06-30 22:45:40 +02:00
Hamir Mahal 981db9d102 fix: formatting in src/command.rs 2024-06-01 11:07:23 +02:00
Hamir Mahal ef1263279d style: simplify string interpolation 2024-06-01 11:07:23 +02:00
one230six c0921351e7 refactor: Optimize code based on cargo clippy suggestions
Signed-off-by: one230six <723682061@qq.com>

refactor: Optimize code based on cargo clippy suggestions

Signed-off-by: one230six <723682061@qq.com>
2024-03-14 08:46:35 +01:00
Hamir Mahal 6c774103d9 refactor: replace repeated string allocation
on each iteration with one `String` creation in
`fold`, for efficiency
2024-03-12 21:32:40 +01:00
Hamir Mahal 96f8ae52ad refactor: remove redundant redefinition 2024-03-10 21:02:09 +01:00
Jack O'Connor e13d0cb144 Add --conclude option with tests
This implementation of --conclude is basically identical
to the existing implementation for --prepare. I have not
adapted any existing tests. All tests which test --conclude
functionality are new.

The --conclude commands will run in the same order in which
they are supplied on the cli in the same manner as --prepare
and there must either be one --conclude command, or else the
same number of --concludes as there are commands.
2024-02-02 17:46:23 +01:00
Albert Safin 4ffe96bda5 Specify clap::ValueHint for arguments 2024-01-16 20:22:03 +01:00
overclockworked64 798ea2dca1 fix: add a space in the progress bar template 2023-10-23 19:31:30 +02:00
Lena 69ee1738d4 Remove dependency on atty and use std::io::IsTerminal instead 2023-10-18 20:54:12 +02:00
David Peter 4564977b7a Add support for microseconds, closes #684 2023-10-05 09:39:00 +02:00
Pedro Witzel ae9b0bbdfd cfg: adding more pre-processing for windows-only parser 2023-10-05 09:25:07 +02:00
Pedro Witzel c2f99e5f94 fmt: apply cargo fmt suggestions 2023-10-05 09:25:07 +02:00
Pedro Witzel bece2eacf0 bug: quoting failure on windows-platform (#296) 2023-10-05 09:25:07 +02:00
David Peter 3d4710f6e0 Clippy suggestions 2023-06-03 23:24:11 +02:00
David Peter ac617c8714 Add new --sort option
This adds a new `--sort` option to choose the way in which the results
in the speed comparison and the markup exports are ordered.

closes #614
closes #601
2023-06-03 21:34:36 +02:00
Ville Skyttä 178bdaa205 Spelling and grammar fixes 2023-05-18 16:31:44 +02:00
David Peter a8752769ab Show unused parameters in command names
closes #600
2023-04-20 21:39:23 +02:00
David Peter 9859ecaafe Always compute relative speed comprison for export, closes #642 2023-04-20 13:22:00 +02:00
David Peter 926b8d07c8 Improve error message, mention --shell=none 2023-04-20 13:22:00 +02:00
David Peter 2793d7b994 Do not export intermediate results to stdout, closes #640 2023-04-20 13:22:00 +02:00
Clemens Wasser d2fb7d4c4c Use windows-sys and fix feature flag 2023-04-20 12:51:59 +02:00
Clemens Wasser ccda6c4712 Fix winapi type definition change 2023-04-17 21:10:59 +02:00
David Peter 80ec1c5ddf Fix usage of --input=null 2023-03-21 21:03:34 +01:00
David Peter fbe9ca6669 Use max. term width, not term width 2023-03-21 21:03:34 +01:00
David Peter 1c7a8cc2f6 Fix clippy suggestions 2023-03-15 10:13:58 +01:00
David Peter 2dfc919227 Help text wrapping 2023-03-15 10:13:58 +01:00
David Peter c44aa1d006 Fix clippy suggestions 2023-03-15 10:13:58 +01:00
David Peter 5f5adda8b4 Prevent creation of file named '-' 2023-03-15 10:13:58 +01:00
Humble Penguin e50050f53d removed unused imports 2023-03-15 09:34:29 +01:00