Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(207)

Side by Side Diff: tools_webrtc/mb/mb.py

Issue 2871213002: Roll chromium_revision faace60759..b895cae903 (470521:470551) (Closed)
Patch Set: Update gtest-parallel. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « DEPS ('k') | tools_webrtc/mb/mb_unittest.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. 2 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
3 # 3 #
4 # Use of this source code is governed by a BSD-style license 4 # Use of this source code is governed by a BSD-style license
5 # that can be found in the LICENSE file in the root of the source 5 # that can be found in the LICENSE file in the root of the source
6 # tree. An additional intellectual property rights grant can be found 6 # tree. An additional intellectual property rights grant can be found
7 # in the file PATENTS. All contributing project authors may 7 # in the file PATENTS. All contributing project authors may
8 # be found in the AUTHORS file in the root of the source tree. 8 # be found in the AUTHORS file in the root of the source tree.
9 9
10 """MB - the Meta-Build wrapper around GYP and GN 10 """MB - the Meta-Build wrapper around GYP and GN
(...skipping 1071 matching lines...) Expand 10 before | Expand all | Expand 10 after
1082 'memcheck', 1082 'memcheck',
1083 '--target', 1083 '--target',
1084 'Release', 1084 'Release',
1085 '--build-dir', 1085 '--build-dir',
1086 '..', 1086 '..',
1087 '--test', 1087 '--test',
1088 ] 1088 ]
1089 1089
1090 if not memcheck: 1090 if not memcheck:
1091 extra_files += [ 1091 extra_files += [
1092 '../../third_party/gtest-parallel/gtest-parallel', 1092 '../../third_party/gtest-parallel/gtest-parallel',
kjellander_webrtc 2017/05/10 19:55:19 I guess we'll remove this as soon we've updated al
ehmaldonado_webrtc 2017/05/10 20:15:42 Well, pbos@ would prefer to keep it as a thin wrap
1093 '../../third_party/gtest-parallel/gtest_parallel.py',
1093 '../../tools_webrtc/gtest-parallel-wrapper.py', 1094 '../../tools_webrtc/gtest-parallel-wrapper.py',
1094 ] 1095 ]
1095 sep = '\\' if self.platform == 'win32' else '/' 1096 sep = '\\' if self.platform == 'win32' else '/'
1096 output_dir = '${ISOLATED_OUTDIR}' + sep + 'test_logs' 1097 output_dir = '${ISOLATED_OUTDIR}' + sep + 'test_logs'
1097 gtest_parallel_wrapper = [ 1098 gtest_parallel_wrapper = [
1098 '../../tools_webrtc/gtest-parallel-wrapper.py', 1099 '../../tools_webrtc/gtest-parallel-wrapper.py',
1099 '--output_dir=%s' % output_dir, 1100 '--output_dir=%s' % output_dir,
1100 '--gtest_color=no', 1101 '--gtest_color=no',
1101 # We tell gtest-parallel to interrupt the test after 900 seconds, 1102 # We tell gtest-parallel to interrupt the test after 900 seconds,
1102 # so it can exit cleanly and report results, instead of being 1103 # so it can exit cleanly and report results, instead of being
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after
1539 # Then check to see if the arg contains any metacharacters other than 1540 # Then check to see if the arg contains any metacharacters other than
1540 # double quotes; if it does, quote everything (including the double 1541 # double quotes; if it does, quote everything (including the double
1541 # quotes) for safety. 1542 # quotes) for safety.
1542 if any(a in UNSAFE_FOR_CMD for a in arg): 1543 if any(a in UNSAFE_FOR_CMD for a in arg):
1543 arg = ''.join('^' + a if a in ALL_META_CHARS else a for a in arg) 1544 arg = ''.join('^' + a if a in ALL_META_CHARS else a for a in arg)
1544 return arg 1545 return arg
1545 1546
1546 1547
1547 if __name__ == '__main__': 1548 if __name__ == '__main__':
1548 sys.exit(main(sys.argv[1:])) 1549 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « DEPS ('k') | tools_webrtc/mb/mb_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698