summaryrefslogtreecommitdiffstats
path: root/runtest.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2010-06-06 00:40:06 (GMT)
committerSteven Knight <knight@baldmt.com>2010-06-06 00:40:06 (GMT)
commit2fc4d8d28cfba093f9d14c4215cee301aa6602c7 (patch)
treec785d935204139f147bea5f0d80febf7ab0b63de /runtest.py
parent2e4ed805ab3387ff33aac7b3d347febe39f13391 (diff)
downloadSCons-2fc4d8d28cfba093f9d14c4215cee301aa6602c7.zip
SCons-2fc4d8d28cfba093f9d14c4215cee301aa6602c7.tar.gz
SCons-2fc4d8d28cfba093f9d14c4215cee301aa6602c7.tar.bz2
When trying to execute v[cs]*vars*.bat scripts to fetch the Visual
{C++,Studio} environment variables, propagate %COMSPEC% and any %VS*COMNTOOLS% variables from os.environ, since they're outright required for Express versions of the scripts (and maybe others) to execute correctly. Only propagate the values if they're not manually set in the ENV execution environment. Additionally, if the script execution put anything on stderr, propagate it to our stderr so we don't swallow errors. (Unfortunately, errors don't necessarily cause these scripts to exit non-zero.)
Diffstat (limited to 'runtest.py')
0 files changed, 0 insertions, 0 deletions