summaryrefslogtreecommitdiff
path: root/test/Program.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2001-09-21 21:04:14 +0000
committerSteven Knight <knight@baldmt.com>2001-09-21 21:04:14 +0000
commit21a368c1a8d22330a27381978984f1c7a33f4db6 (patch)
tree9c4d43b6b5c60aa4c4bb6851515a9f72cac789f4 /test/Program.py
parentf407037c97df685b54882142784d2f353aaac6b6 (diff)
downloadscons-21a368c1a8d22330a27381978984f1c7a33f4db6.tar.gz
Have SCons report when something is up-to-date.
Diffstat (limited to 'test/Program.py')
-rw-r--r--test/Program.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Program.py b/test/Program.py
index 4189c466..0d760dfd 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'))