From 6dfe1bb16b84e5ce1f845bf3d1c83c2b34f65129 Mon Sep 17 00:00:00 2001 From: Steven Knight Date: Tue, 13 Jul 2004 07:49:38 +0000 Subject: Fix test/chained-build.py for systems that can finish execution within one second. (Kevin Quick) --- 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 72748d9..6694df2 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 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', -- cgit v0.12