diff options
-rw-r--r-- | bin/sconsoutput.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/bin/sconsoutput.py b/bin/sconsoutput.py index f99ec5a..2c6e4d5 100644 --- a/bin/sconsoutput.py +++ b/bin/sconsoutput.py @@ -426,7 +426,12 @@ def command_scons(args, c, test, dict): os.environ[key] = val test.run(interpreter = sys.executable, program = scons_py, - arguments = '-f - ' + string.join(args), + # We use ToolSurrogates to capture win32 output by "building" + # examples using a fake win32 tool chain. Suppress the + # warnings that come from the new revamped VS support so + # we can build doc on (Linux) systems that don't have + # Visual C installed. + arguments = '--warn=no-visual-c-missing -f - ' + string.join(args), chdir = test.workpath('WORK'), stdin = Stdin % dict) os.environ.update(save_vals) |