From 3d15df97b4c16199f670281d9826f92b1f343a7b Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sat, 18 Feb 2017 09:34:38 +0300 Subject: [PATCH] Fix recompilation test for mac On macs, mtime has a seconds granularity, so we need to sleep a bit --- tests/path.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/path.rs b/tests/path.rs index 1b4594fe69e..52e117d762b 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(); }