diff options
author | Mats Wichmann <mats@linux.com> | 2019-03-28 14:06:52 (GMT) |
---|---|---|
committer | Mats Wichmann <mats@linux.com> | 2019-03-29 17:54:27 (GMT) |
commit | f4090a380132898099199a9ae23c0cfabdcc921f (patch) | |
tree | c31027d64d1a23e961067801fc0da7cb058056e2 /test/scons-time | |
parent | ef365f18a6ab6917530be9c96ea58267fe8eba83 (diff) | |
download | SCons-f4090a380132898099199a9ae23c0cfabdcc921f.zip SCons-f4090a380132898099199a9ae23c0cfabdcc921f.tar.gz SCons-f4090a380132898099199a9ae23c0cfabdcc921f.tar.bz2 |
[PR #3330] try to eliminate race in scons-time
runtest change to run requested number of jobs exposed a concurrency
problem on Appveyor CI (Windows) builds - which seems to be due to
scons-time using mktemp to create a temporary directory name, and then
later creating the directory. In scons-time the timing window for
this is a bit longer than usual. Try using mkdtemp instead.
Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'test/scons-time')
-rw-r--r-- | test/scons-time/run/option/verbose.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/scons-time/run/option/verbose.py b/test/scons-time/run/option/verbose.py index 0ef2a6c..6f8f72f 100644 --- a/test/scons-time/run/option/verbose.py +++ b/test/scons-time/run/option/verbose.py @@ -72,7 +72,6 @@ scons_flags = '--debug=count --debug=memory --debug=time --debug=memoizer' expect = """\ -scons-time%(time_re)s: mkdir %(tmp_scons_time)s scons-time%(time_re)s: cd %(tmp_scons_time)s scons-time%(time_re)s: tar xzf %(foo_tar_gz)s scons-time%(time_re)s: cd foo |