diff options
| author | Steven Knight <knight@baldmt.com> | 2004-01-10 12:32:21 (GMT) |
|---|---|---|
| committer | Steven Knight <knight@baldmt.com> | 2004-01-10 12:32:21 (GMT) |
| commit | a2ca9333b07ac0c2509ebe8266d76d6a2fc95663 (patch) | |
| tree | e7acc6be78dfb24b15dc8bd642d620059c801e51 /test/SharedLibrary.py | |
| parent | 7e8d06e0299badbe0efcaa7b976e46a790758b93 (diff) | |
| download | SCons-a2ca9333b07ac0c2509ebe8266d76d6a2fc95663.zip SCons-a2ca9333b07ac0c2509ebe8266d76d6a2fc95663.tar.gz SCons-a2ca9333b07ac0c2509ebe8266d76d6a2fc95663.tar.bz2 | |
Make the static/shared object check work even if the object was already created.
Diffstat (limited to 'test/SharedLibrary.py')
| -rw-r--r-- | test/SharedLibrary.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/SharedLibrary.py b/test/SharedLibrary.py index 7eb714c..6ad278d 100644 --- a/test/SharedLibrary.py +++ b/test/SharedLibrary.py @@ -207,6 +207,11 @@ else: test.run(arguments = '-f SConstructFoo', status=2, stderr='''\ scons: \*\*\* Source file: foo\..* is static and is not compatible with shared target: .* ''') + # Run it again to make sure that we still get the error + # even though the static objects already exist. + test.run(arguments = '-f SConstructFoo', status=2, stderr='''\ +scons: \*\*\* Source file: foo\..* is static and is not compatible with shared target: .* +''') test.run(arguments = '-f SConstructFoo2') |
