diff options
author | Steven Knight <knight@baldmt.com> | 2002-01-23 21:54:05 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2002-01-23 21:54:05 (GMT) |
commit | cb0829ad927a55c4d79125e6ced5e975544a05a6 (patch) | |
tree | c29ac37bb286f200da768ac48fb0d5845ec510d6 /test/LIBPATH.py | |
parent | 627e41f923a7db85b0d30ae1c6980c9fab2c642f (diff) | |
download | SCons-cb0829ad927a55c4d79125e6ced5e975544a05a6.zip SCons-cb0829ad927a55c4d79125e6ced5e975544a05a6.tar.gz SCons-cb0829ad927a55c4d79125e6ced5e975544a05a6.tar.bz2 |
Strip $(-$) bracketed text from command lines.
Diffstat (limited to 'test/LIBPATH.py')
-rw-r--r-- | test/LIBPATH.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/LIBPATH.py b/test/LIBPATH.py index 7d5a7cc..a373425 100644 --- a/test/LIBPATH.py +++ b/test/LIBPATH.py @@ -60,4 +60,16 @@ test.run(arguments = '.') test.run(program = test.workpath('prog'), stdout = "f1.c\nprog.c\n") +test.up_to_date(arguments = '.') + +# Change LIBPATH and make sure we don't rebuild because of it. +test.write('SConstruct', """ +env = Environment(LIBS = [ 'foo1' ], + LIBPATH = [ './libs', './lib2' ]) +env.Program(target = 'prog', source = 'prog.c') +env.Library(target = './libs/foo1', source = 'f1.c') +""") + +test.up_to_date(arguments = '.', stderr = None) + test.pass_test() |