Fix test/chained-build.py for systems that can finish execution within one second...
authorstevenknight <stevenknight@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Tue, 13 Jul 2004 07:49:38 +0000 (07:49 +0000)
committerstevenknight <stevenknight@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Tue, 13 Jul 2004 07:49:38 +0000 (07:49 +0000)
git-svn-id: http://scons.tigris.org/svn/scons/trunk@1004 fdb21ef1-2011-0410-befe-b5e4ea1792b1

src/CHANGES.txt
test/chained-build.py

index 72748d9e3a7f18684a2c7226bdf39dc21b30b875..6694df2d38fc8f3e01a03fd16bfddb3f74f2fa91 100644 (file)
@@ -160,6 +160,10 @@ RELEASE 0.96 - XXX
 
   - Fix a bug introduced in building shared libraries under MinGW.
 
+  From Kevin Quick:
+
+  - Fix test/chained-build.py on systems that execute within one second.
+
   From Anthony Roach:
 
   - Fix use of the --implicit-cache option with timestamp signatures.
index ff14964cb20dc5441b378f7687d0c53144f9ea4d..ea9bec09591f65cd605ab8e62fdd5110cf293668 100644 (file)
@@ -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',