mirror of
https://github.com/apple/swift.git
synced 2026-06-20 15:42:51 +02:00
1fa1af4410
By hashing the output, the test updater won't trigger for failures unrelated to the test file being outdated. That is, if the generated test output hasn't changed, then regenerating the test surely won't fix it. This serves two purposes: - it allows someone to make edits to the output (e.g. add comments) and not have them overwritten all the time - only one test updater is allowed to make updates each test failure, so if the generated file hasn't changed, it shouldn't prevent other test updaters from executing