diff options
author | Steven Knight <knight@baldmt.com> | 2005-10-09 22:43:28 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2005-10-09 22:43:28 (GMT) |
commit | aa8ee0923301d055ea4a595145cc71789e8b3f8d (patch) | |
tree | 60fb1eb955582f3da74f4157906e678ca60c6596 /test/MSVS/vs-7.1-exec.py | |
parent | 435130568f78858e4d122c2ff2d1de7eb25feb80 (diff) | |
download | SCons-aa8ee0923301d055ea4a595145cc71789e8b3f8d.zip SCons-aa8ee0923301d055ea4a595145cc71789e8b3f8d.tar.gz SCons-aa8ee0923301d055ea4a595145cc71789e8b3f8d.tar.bz2 |
Put quotes around the -C directory in command lines in MSVS project files.
Diffstat (limited to 'test/MSVS/vs-7.1-exec.py')
-rw-r--r-- | test/MSVS/vs-7.1-exec.py | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/test/MSVS/vs-7.1-exec.py b/test/MSVS/vs-7.1-exec.py index f546aa5..ea886b2 100644 --- a/test/MSVS/vs-7.1-exec.py +++ b/test/MSVS/vs-7.1-exec.py @@ -59,7 +59,9 @@ exec(test.stdout()) -test.write('SConstruct', """\ +test.subdir('sub dir') + +test.write(['sub dir', 'SConstruct'], """\ env=Environment(MSVS_VERSION = '7.1') env.MSVSProject(target = 'foo.vcproj', @@ -70,7 +72,7 @@ env.MSVSProject(target = 'foo.vcproj', env.Program('foo.c') """) -test.write('foo.c', r""" +test.write(['sub dir', 'foo.c'], r""" int main(int argc, char *argv) { @@ -79,14 +81,15 @@ main(int argc, char *argv) } """) -test.run(arguments='.') +test.run(chdir='sub dir', arguments='.') -test.vcproj_sys_path('foo.vcproj') +test.vcproj_sys_path(test.workpath('sub dir', 'foo.vcproj')) -test.run(program=['devenv'], +test.run(chdir='sub dir', + program=['devenv'], arguments=['foo.sln', '/build', 'Release']) -test.run(program=test.workpath('foo'), stdout="foo.c\n") +test.run(program=test.workpath('sub dir', 'foo'), stdout="foo.c\n") |