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)
commit23e59d43cd1884674d80e33df75812aa5133f4e3 (patch)
treedf3cadd91d9e4785acf5f5cd3f0433d0386f734d /test/chained-build.py
parent7d581805c37a57144abb0f4961cd1c8edd1a20a0 (diff)
downloadSCons-23e59d43cd1884674d80e33df75812aa5133f4e3.zip
SCons-23e59d43cd1884674d80e33df75812aa5133f4e3.tar.gz
SCons-23e59d43cd1884674d80e33df75812aa5133f4e3.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',