diff options
author | Steven Knight <knight@baldmt.com> | 2006-02-12 19:56:03 +0000 |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2006-02-12 19:56:03 +0000 |
commit | 19563d915729176a6349021295bef4f4f830b15d (patch) | |
tree | 56208f374c81c91b572cd0fc3cf28223ef80a732 /test/MSVS | |
parent | f44f025c1e789ca6f73f0709149512c08e2459c3 (diff) | |
download | scons-19563d915729176a6349021295bef4f4f830b15d.tar.gz |
Add support for Visual Studio 2005 Professional. Windows portability fixes for various tests. (Baptiste Lepilleur)
Diffstat (limited to 'test/MSVS')
-rw-r--r-- | test/MSVS/vs-6.0-exec.py | 2 | ||||
-rw-r--r-- | test/MSVS/vs-7.0-exec.py | 2 | ||||
-rw-r--r-- | test/MSVS/vs-7.1-exec.py | 2 | ||||
-rw-r--r-- | test/MSVS/vs-8.0-exec.py | 6 |
4 files changed, 8 insertions, 4 deletions
diff --git a/test/MSVS/vs-6.0-exec.py b/test/MSVS/vs-6.0-exec.py index a9637723..3fe3f161 100644 --- a/test/MSVS/vs-6.0-exec.py +++ b/test/MSVS/vs-6.0-exec.py @@ -84,7 +84,7 @@ main(int argc, char *argv) test.run(chdir='sub dir', arguments='.') test.run(chdir='sub dir', - program=['msdev'], + program=[test.get_msvs_executable('6.0')], arguments=['Test.dsp', '/MAKE', 'foo - Win32 Release']) test.run(program=test.workpath('sub dir', 'foo'), stdout="foo.c\n") diff --git a/test/MSVS/vs-7.0-exec.py b/test/MSVS/vs-7.0-exec.py index 8700d416..c4ef414d 100644 --- a/test/MSVS/vs-7.0-exec.py +++ b/test/MSVS/vs-7.0-exec.py @@ -86,7 +86,7 @@ test.run(chdir='sub dir', arguments='.') test.vcproj_sys_path(test.workpath('sub dir', 'foo.vcproj')) test.run(chdir='sub dir', - program=['devenv'], + program=[test.get_msvs_executable('7.0')], arguments=['foo.sln', '/build', 'Release']) test.run(program=test.workpath('sub dir', 'foo'), stdout="foo.c\n") diff --git a/test/MSVS/vs-7.1-exec.py b/test/MSVS/vs-7.1-exec.py index ea886b2b..03fec815 100644 --- a/test/MSVS/vs-7.1-exec.py +++ b/test/MSVS/vs-7.1-exec.py @@ -86,7 +86,7 @@ test.run(chdir='sub dir', arguments='.') test.vcproj_sys_path(test.workpath('sub dir', 'foo.vcproj')) test.run(chdir='sub dir', - program=['devenv'], + program=[test.get_msvs_executable('7.1')], arguments=['foo.sln', '/build', 'Release']) test.run(program=test.workpath('sub dir', 'foo'), stdout="foo.c\n") diff --git a/test/MSVS/vs-8.0-exec.py b/test/MSVS/vs-8.0-exec.py index 45549041..f41e2beb 100644 --- a/test/MSVS/vs-8.0-exec.py +++ b/test/MSVS/vs-8.0-exec.py @@ -85,8 +85,12 @@ test.run(chdir='sub dir', arguments='.') test.vcproj_sys_path(test.workpath('sub dir', 'foo.vcproj')) +import SCons.Platform.win32 +system_dll_path = os.path.join( SCons.Platform.win32.get_system_root(), 'System32' ) +os.environ['PATH'] = os.environ['PATH'] + os.pathsep + system_dll_path + test.run(chdir='sub dir', - program=['devenv'], + program=[test.get_msvs_executable('8.0')], arguments=['foo.sln', '/build', 'Release']) test.run(program=test.workpath('sub dir', 'foo'), stdout="foo.c\n") |