]> git.lizzy.rs Git - rust.git/commit
auto merge of #9437 : catamorphism/rust/rustpkg-dates, r=alexcrichton
authorbors <bors@rust-lang.org>
Sat, 19 Oct 2013 02:36:22 +0000 (19:36 -0700)
committerbors <bors@rust-lang.org>
Sat, 19 Oct 2013 02:36:22 +0000 (19:36 -0700)
commit3a7337ff17fda6480f55a0613c68b75c14b475ca
treec9abf97f660f611441d1f7320849d40668cfdaac
parentcd623e3e36c1d59f4c8a528fc861a46ec46bd5ce
parente779313b0786b5b9d852729005d1552b0b120d61
auto merge of #9437 : catamorphism/rust/rustpkg-dates, r=alexcrichton

r? @alexcrichton On most platforms, the time granularity is 1 sec or more, so comparing
dates in tests that check whether rebuilding did or didn't happen leads
to spurious failures. Instead, test the same thing by making an output
file read-only and trapping attempts to write to it.