summaryrefslogtreecommitdiffstats
path: root/test/chained-build.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2004-07-13 07:49:38 (GMT)
committerSteven Knight <knight@baldmt.com>2004-07-13 07:49:38 (GMT)
commit6dfe1bb16b84e5ce1f845bf3d1c83c2b34f65129 (patch)
treedf3cadd91d9e4785acf5f5cd3f0433d0386f734d /test/chained-build.py
parent9d2af963f5da83955b06353104b44ad01c86716c (diff)
downloadSCons-6dfe1bb16b84e5ce1f845bf3d1c83c2b34f65129.zip
SCons-6dfe1bb16b84e5ce1f845bf3d1c83c2b34f65129.tar.gz
SCons-6dfe1bb16b84e5ce1f845bf3d1c83c2b34f65129.tar.bz2
Fix test/chained-build.py for systems that can finish execution within one second. (Kevin Quick)
Diffstat (limited to 'test/chained-build.py')
-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',