about summary refs log tree commit diff
path: root/src/test/codegen/function-arguments.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-02-20 21:31:17 +0000
committerbors <bors@rust-lang.org>2017-02-20 21:31:17 +0000
commita17e5e2949db53c9c1e3a697e41c254e31c0bdf3 (patch)
treedb701a6dae067392f911c65316287016f7eb9f8a /src/test/codegen/function-arguments.rs
parentc1368fc4f497b6387b00850dc5a95df5d6974b43 (diff)
parent6a78282607023058b7161e847054640001bf7357 (diff)
downloadrust-a17e5e2949db53c9c1e3a697e41c254e31c0bdf3.tar.gz
rust-a17e5e2949db53c9c1e3a697e41c254e31c0bdf3.zip
Auto merge of #39717 - pnkfelix:check-timestamps-in-compiletest-miropt, 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.
Diffstat (limited to 'src/test/codegen/function-arguments.rs')
0 files changed, 0 insertions, 0 deletions