From: Aleksey Kladov Date: Sat, 18 Feb 2017 06:34:38 +0000 (+0300) Subject: Fix recompilation test for mac X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~9^2~139^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3d15df97b4c16199f670281d9826f92b1f343a7b;p=cargo.git Fix recompilation test for mac On macs, mtime has a seconds granularity, so we need to sleep a bit --- diff --git a/tests/path.rs b/tests/path.rs index 1b4594fe6..52e117d76 100644 --- a/tests/path.rs +++ b/tests/path.rs @@ -298,6 +298,7 @@ fn no_rebuild_dependency() { p.url(), p.url()))); + sleep_ms(1000); p.change_file("src/foo.rs", r#" extern crate bar; fn main() { bar::bar(); }