Pass isolate output dir to gtest-parallel-wrapper.py
This makes it possible to archive all test execution logs on swarming jobs.
R=kjellander@webrtc.org
BUG=webrtc:7086
NOTRY=True
Review-Url: https://codereview.webrtc.org/2686563002
Cr-Commit-Position: refs/heads/master@{#16574}
diff --git a/tools-webrtc/mb/mb.py b/tools-webrtc/mb/mb.py
index eb92f23..49f681f 100755
--- a/tools-webrtc/mb/mb.py
+++ b/tools-webrtc/mb/mb.py
@@ -1100,14 +1100,17 @@
gtest_parallel = (test_type != 'non_parallel_console_test_launcher' and
not memcheck)
- gtest_parallel_wrapper = [
- '../../third_party/gtest-parallel/gtest-parallel-wrapper.py'
- ]
if gtest_parallel:
extra_files += [
'../../third_party/gtest-parallel/gtest-parallel',
'../../third_party/gtest-parallel/gtest-parallel-wrapper.py',
]
+ sep = '\\' if self.platform == 'win32' else '/'
+ output_dir = '${ISOLATED_OUTDIR}' + sep + 'test_logs'
+ gtest_parallel_wrapper = [
+ '../../third_party/gtest-parallel/gtest-parallel-wrapper.py',
+ '--output_dir=%s' % output_dir,
+ ]
asan = 'is_asan=true' in vals['gn_args']
msan = 'is_msan=true' in vals['gn_args']