diff options
author | Steven Knight <knight@baldmt.com> | 2003-04-26 13:02:02 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2003-04-26 13:02:02 (GMT) |
commit | a925fbfbbecd978b6275ba0592e3bd21b0bd7781 (patch) | |
tree | 292853eb221ebe82c9e9b47c03c74b78a155add0 /test/LIBPATH.py | |
parent | dbb26a739bda888c1b7e206dbf6753ebadc68ebc (diff) | |
download | SCons-a925fbfbbecd978b6275ba0592e3bd21b0bd7781.zip SCons-a925fbfbbecd978b6275ba0592e3bd21b0bd7781.tar.gz SCons-a925fbfbbecd978b6275ba0592e3bd21b0bd7781.tar.bz2 |
Portability fixes for test. (Chad Austin)
Diffstat (limited to 'test/LIBPATH.py')
-rw-r--r-- | test/LIBPATH.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/LIBPATH.py b/test/LIBPATH.py index c886627..2730be3 100644 --- a/test/LIBPATH.py +++ b/test/LIBPATH.py @@ -75,6 +75,7 @@ int test() { f1(); + return 0; } """) @@ -148,10 +149,14 @@ test.run(program = prog1, test.up_to_date(arguments = '.') +# We need at least one file for some implementations of the Library +# builder, notably the SGI one. +test.write('empty.c', '') + # Check that a null-string LIBPATH doesn't blow up. test.write('SConstruct', """ env = Environment(LIBPATH = '') -env.Library('foo', source = '') +env.Library('foo', source = 'empty.c') """) test.run(arguments = '.') |