mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-21 02:39:11 +00:00
Moves sorting into format and out of parse.
- Reverts test updates in https://dawn-review.googlesource.com/c/dawn/+/98761 that were introduced because of the sorting in `parse`. Change-Id: Ia27386e9aa2f16b9a4ba26e77207e5a4d6f4df97 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/99020 Auto-Submit: Loko Kung <lokokung@google.com> Reviewed-by: Ben Clayton <bclayton@google.com> Commit-Queue: Ben Clayton <bclayton@google.com>
This commit is contained in:
@@ -51,5 +51,11 @@ func (c *cmd) Run(ctx context.Context, cfg common.Config) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
// Sort the expectations in each chunk.
|
||||
for _, chunk := range ex.Chunks {
|
||||
chunk.Expectations.Sort()
|
||||
}
|
||||
|
||||
return ex.Save(c.flags.expectations)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user