diff options
author | Steven Knight <knight@baldmt.com> | 2003-08-19 23:06:05 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2003-08-19 23:06:05 (GMT) |
commit | da45157ba79c6e988c0ac89555141d02d23c5f29 (patch) | |
tree | 22791a098172f2e7191e0c35debf11b5da26e0ed /test/ToolSurrogate.py | |
parent | e167fa6ca236dbe95f2a09a63a333436d50b3370 (diff) | |
download | SCons-da45157ba79c6e988c0ac89555141d02d23c5f29.zip SCons-da45157ba79c6e988c0ac89555141d02d23c5f29.tar.gz SCons-da45157ba79c6e988c0ac89555141d02d23c5f29.tar.bz2 |
Portability fixes for tests.
Diffstat (limited to 'test/ToolSurrogate.py')
-rw-r--r-- | test/ToolSurrogate.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/ToolSurrogate.py b/test/ToolSurrogate.py index f33d804..dc190dd 100644 --- a/test/ToolSurrogate.py +++ b/test/ToolSurrogate.py @@ -80,22 +80,22 @@ ToolList = { platform = ARGUMENTS['platform'] tools = map(lambda t: apply(ToolSurrogate, t), ToolList[platform]) -env = Environment(tools = tools) +env = Environment(tools=tools, PROGSUFFIX='.exe', OBJSUFFIX='.obj') env.Program('foo.c') """) test.write('foo.c', "foo.c posix\n") test.run(arguments = '. platform=posix', stdout = test.wrap_stdout("""\ -cc -c -o foo.o foo.c -c++ -o foo foo.o +cc -c -o foo.obj foo.c +c++ -o foo.exe foo.obj """)) test.write('foo.c', "foo.c win32\n") test.run(arguments = '. platform=win32', stdout = test.wrap_stdout("""\ -cl /nologo /c foo.c /Fofoo.o -link /nologo /OUT:foo foo.o +cl /nologo /c foo.c /Fofoo.obj +link /nologo /OUT:foo.exe foo.obj """)) test.pass_test() |