summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/chained-build.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/chained-build.py b/test/chained-build.py
index ff14964..ea9bec0 100644
--- a/test/chained-build.py
+++ b/test/chained-build.py
@@ -65,6 +65,7 @@ test.up_to_date(chdir='w1',
options="--max-drift=0 -f SConstruct2",
arguments="foo.out")
+test.sleep() # make sure foo.in rewrite has new mod-time
test.write(['w1', 'foo.in'], "foo.in 2")
test.run(chdir='w1',
@@ -101,6 +102,7 @@ test.up_to_date(chdir='w2',
options="--max-drift=0 -f SConstruct2",
arguments="foo.out")
+test.sleep() # make sure foo.in rewrite has new mod-time
test.write(['w2', 'foo.in'], "foo.in 2")
test.run(chdir='w2',