Skip to content

Commit

Permalink
refactor: explicit match in reconciliation w/o metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
ErichDonGubler committed Jul 30, 2024
1 parent 1201716 commit c6ee9fe
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions moz-webgpu-cts/src/process_reports.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,15 @@ fn reconcile<Out>(
}
})
} else {
ExpandedPropertyValue::from_query(|platform, build_profile| {
reported((platform, build_profile)).unwrap_or_default()
})
match preset {
ReportProcessingPreset::ResetContradictoryOutcomes
| ReportProcessingPreset::MergeOutcomes
| ReportProcessingPreset::ResetAllOutcomes => {
ExpandedPropertyValue::from_query(|platform, build_profile| {
reported((platform, build_profile)).unwrap_or_default()
})
}
}
}
};
meta_props.expected = Some(reconciled);
Expand Down

0 comments on commit c6ee9fe

Please sign in to comment.