-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When compiletest'ing src/test/mir-opt, check timestamps. #39717
When compiletest'ing src/test/mir-opt, check timestamps. #39717
Conversation
r? @aturon (rust_highfive has picked a reviewer for you, use r? to override) |
@pnkfelix due to our vendoring requirements it'll be easiest to avoid the addition of the |
Ugh, seconds from the epoch is so ugly. I'll just leave the timestamps out of the |
eac3f68
to
ca94a64
Compare
8055031
to
67971e4
Compare
This version removes prior use of `time` crate, to satisify vendoring requirements. remove extraneous whitespace change
67971e4
to
6a78282
Compare
@bors: r+ |
📌 Commit 6a78282 has been approved by |
…t, r=alexcrichton When compiletest'ing src/test/mir-opt, check timestamps. The tests in src/test/mir-opt embed references to generated files. The names of the generated files embed node id's, which will change depending on the content of the original source. To guard against comparisons against stale output, check the timestamps of the supposed output against the timestamp of the original source (i.e. any output should be at least as new as the source that was recompiled). Fix #39690.
☀️ Test successful - status-appveyor, status-travis |
The tests in src/test/mir-opt embed references to generated files. The names of the generated files embed node id's, which will change depending on the content of the original source.
To guard against comparisons against stale output, check the timestamps of the supposed output against the timestamp of the original source (i.e. any output should be at least as new as the source that was recompiled).
Fix #39690.