libtest: Allow passing --test-threads and --color multiple times, with later arguments overriding earlier - #161312
libtest: Allow passing --test-threads and --color multiple times, with later arguments overriding earlier#161312joshtriplett wants to merge 2 commits into
Conversation
|
r? @clarfonthey rustbot has assigned @clarfonthey. Use Why was this reviewer chosen?The reviewer was selected based on:
|
|
Looks good from my side. Starting fcp for this as it is a one-way door. @rfcbot fcp merge testing-devex |
|
@epage has proposed to merge this. The next step is review by the rest of the tagged team members: No concerns currently listed. Once a majority of reviewers approve (and at most 2 approvals are outstanding), this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up! See this document for info about what commands tagged team members can give me. |
Cargo would like to be able to pass `--test-threads=N`, without breaking the ability for the user to do the same and override cargo's value. Currently, the option only allows one instance, failing if it sees multiple. Accept `--test-threads=N` multiple times, and have the last instance win.
Cargo would like to be able to pass a `--color` option, without breaking the ability for the user to do the same and override cargo's value. Currently, the option only allows one instance, failing if it sees multiple. Accept `--color` multiple times, and have the last instance win.
61bf561 to
ef65ece
Compare
Cargo would like to be able to pass these arguments, without breaking the ability for the user to do the same and override cargo's value. Currently, the option only allows one instance, failing if it sees multiple.
Accept
--test-threads=Nand--color=...multiple times, and have the last instance win.