Skip to content

Commit 132510d

Browse files
fix(update-expected): offer more general language and aliases
1 parent e86bfd0 commit 132510d

1 file changed

Lines changed: 9 additions & 7 deletions

File tree

moz-webgpu-cts/src/main.rs

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -61,20 +61,20 @@ struct Cli {
6161
#[derive(Debug, Parser)]
6262
enum Subcommand {
6363
/// Adjust expected test outcomes in metadata, optionally using `wptreport.json` reports from
64-
/// CI runs covering Firefox's implementation of WebGPU.
64+
/// CI runs covering your browser's implementation of WebGPU.
6565
///
66-
/// As Firefox's behavior changes, one generally expects CTS test outcomes to change. When you
67-
/// are testing your own changes in CI, you can use this subcommand to update expected outcomes
68-
/// automatically with the following steps:
66+
/// As your browser's behavior changes, one generally expects CTS test outcomes to change. When
67+
/// you are testing your own changes in CI, you can use this subcommand to update expected
68+
/// outcomes automatically with the following steps:
6969
///
70-
/// 1. Run `moz-webgpu-cts update-expected --preset=new-fx …` against the first complete set of
71-
/// reports you gather from CI with your new Firefox build. This will adjust for new
70+
/// 1. Run `moz-webgpu-cts update-expected --preset=new-build …` against the first complete set
71+
/// of reports you gather from CI with your new browser build. This will adjust for new
7272
/// permanent outcomes, and may capture some (but not all) intermittent outcomes.
7373
///
7474
/// 2. There may still exist intermittent issues that you do not discover in CI run(s) from the
7575
/// previous step. As you discover them in further CI runs on the same build of Firefox,
7676
/// adjust expected outcomes to match by running `moz-webgpu-cts update-expected
77-
/// --preset=same-fx …` against the runs' new reports. Repeat as necessary.
77+
/// --preset=same-build …` against the runs' new reports. Repeat as necessary.
7878
///
7979
/// With both steps, you may delete the local copies of these reports after being processed
8080
/// with `process-reports`. You should not need to re-process them unless you have made an
@@ -108,9 +108,11 @@ enum Subcommand {
108108
enum ReportProcessingPreset {
109109
/// alias: `new-fx`
110110
#[value(alias("new-fx"))]
111+
#[value(alias("new-build"))]
111112
ResetContradictory,
112113
/// alias: `same-fx`
113114
#[value(alias("same-fx"))]
115+
#[value(alias("same-build"))]
114116
Merge,
115117
ResetAll,
116118
}

0 commit comments

Comments
 (0)