diff options
author | Steven Knight <knight@baldmt.com> | 2001-09-21 21:04:14 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2001-09-21 21:04:14 (GMT) |
commit | 21a368c1a8d22330a27381978984f1c7a33f4db6 (patch) | |
tree | 9c4d43b6b5c60aa4c4bb6851515a9f72cac789f4 /test/Program.py | |
parent | f407037c97df685b54882142784d2f353aaac6b6 (diff) | |
download | SCons-21a368c1a8d22330a27381978984f1c7a33f4db6.zip SCons-21a368c1a8d22330a27381978984f1c7a33f4db6.tar.gz SCons-21a368c1a8d22330a27381978984f1c7a33f4db6.tar.bz2 |
Have SCons report when something is up-to-date.
Diffstat (limited to 'test/Program.py')
-rw-r--r-- | test/Program.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Program.py b/test/Program.py index 4189c46..0d760df 100644 --- a/test/Program.py +++ b/test/Program.py @@ -95,6 +95,7 @@ test.run(program = test.workpath('foo2'), stdout = "f2a.c\nf2b.c\nf2c.c\n") #XXXtest.run(program = test.workpath('foo3'), stdout = "f3a.c\nf3b.c\nf3c.c\n") #XXXtest.up_to_date(arguments = '.') +test.up_to_date(arguments = 'foo1 foo2') test.write('f1.c', """ int @@ -122,6 +123,7 @@ test.run(program = test.workpath('foo2'), stdout = "f2a.c\nf2b.c\nf2c.c\n") #XXXtest.run(program = test.workpath('foo3'), stdout = "f3a.c\nf3b.c X\nf3c.c\n") #XXXtest.up_to_date(arguments = '.') +test.up_to_date(arguments = 'foo1 foo2') # make sure the programs don't get rebuilt, because nothing changed: oldtime1 = os.path.getmtime(test.workpath('foo1')) |