From 8820151562a24ebf6fcdeaf2ca59a291d291811e Mon Sep 17 00:00:00 2001 From: stevenknight Date: Tue, 13 Jul 2004 07:49:38 +0000 Subject: [PATCH] Fix test/chained-build.py for systems that can finish execution within one second. (Kevin Quick) git-svn-id: http://scons.tigris.org/svn/scons/trunk@1004 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- src/CHANGES.txt | 4 ++++ test/chained-build.py | 2 ++ 2 files changed, 6 insertions(+) diff --git a/src/CHANGES.txt b/src/CHANGES.txt index 72748d9e..6694df2d 100644 --- a/src/CHANGES.txt +++ b/src/CHANGES.txt @@ -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. diff --git a/test/chained-build.py b/test/chained-build.py index ff14964c..ea9bec09 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', -- 2.26.2