diff options
author | Gary Oberbrunner <garyo@genarts.com> | 2018-01-05 19:03:31 (GMT) |
---|---|---|
committer | Gary Oberbrunner <garyo@genarts.com> | 2018-01-05 19:12:39 (GMT) |
commit | 25887d95760e9e4ac65f8bbde3a99a0b3a1d471a (patch) | |
tree | d1ac77219834117edd2bfd6d7c05fdecfd2269c6 /runtest.py | |
parent | 91d11918ad131c816dd481b82ca90b6aa15dc56b (diff) | |
download | SCons-25887d95760e9e4ac65f8bbde3a99a0b3a1d471a.zip SCons-25887d95760e9e4ac65f8bbde3a99a0b3a1d471a.tar.gz SCons-25887d95760e9e4ac65f8bbde3a99a0b3a1d471a.tar.bz2 |
Fix problem with Install and multiple dirs outside src tree.
In some cases it's possible to get a case where the target
path already does exist, but the dir node for it hasn't been
updated yet. This fix prevents MkdirFunc from trying to create
it when it already exists. Added a testcase which failed before
the fix and works after it.
Also fixes a problem running tests on Windows, using standard
python 3 which is installed in "C:/Program Files/Python36".
The python path name has to be escaped in that case. See runtest.py.
Diffstat (limited to 'runtest.py')
-rwxr-xr-x | runtest.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -799,7 +799,7 @@ def run_test(t, io_lock, async=True): if options.runner and t.path in unittests: # For example --runner TestUnit.TAPTestRunner command_args.append('--runner ' + options.runner) - t.command_args = [python] + command_args + t.command_args = [escape(python)] + command_args t.command_str = " ".join([escape(python)] + command_args) if printcommand: if print_progress: |