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

Side by Side Diff: scripts/master/factory/webrtc_factory.py

Issue 17153009: Add Large Tests bots for WebRTC (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Restored rebooting only for Win machines Created 7 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « scripts/master/factory/chromium_commands.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 from master.factory import chromium_factory 5 from master.factory import chromium_factory
6 from master.factory import gclient_factory 6 from master.factory import gclient_factory
7 from master.factory import chromium_commands 7 from master.factory import chromium_commands
8 8
9 import config 9 import config
10 10
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 # Get the factory command object to create new steps to the factory. 66 # Get the factory command object to create new steps to the factory.
67 cmds = chromium_commands.ChromiumCommands(factory, target, self._build_dir, 67 cmds = chromium_commands.ChromiumCommands(factory, target, self._build_dir,
68 self._target_platform) 68 self._target_platform)
69 # Override test runner script paths with our own that can run any test and 69 # Override test runner script paths with our own that can run any test and
70 # have our suppressions configured. 70 # have our suppressions configured.
71 valgrind_script_path = cmds.PathJoin('src', 'tools', 'valgrind-webrtc') 71 valgrind_script_path = cmds.PathJoin('src', 'tools', 'valgrind-webrtc')
72 cmds._posix_memory_tests_runner = cmds.PathJoin(valgrind_script_path, 72 cmds._posix_memory_tests_runner = cmds.PathJoin(valgrind_script_path,
73 'webrtc_tests.sh') 73 'webrtc_tests.sh')
74 cmds._win_memory_tests_runner = cmds.PathJoin(valgrind_script_path, 74 cmds._win_memory_tests_runner = cmds.PathJoin(valgrind_script_path,
75 'webrtc_tests.bat') 75 'webrtc_tests.bat')
76 # Add tests. 76 cmds.AddWebRTCTests(tests, factory_properties)
77 gyp_defines = factory_properties['gclient_env'].get('GYP_DEFINES', '')
78 for test in tests:
79 if 'build_for_tool=memcheck' in gyp_defines:
80 cmds.AddMemoryTest(test, 'memcheck',
81 factory_properties=factory_properties)
82 elif 'build_for_tool=tsan' in gyp_defines:
83 cmds.AddMemoryTest(test, 'tsan', factory_properties=factory_properties)
84 else:
85 cmds.AddAnnotatedGTestTestStep(test, factory_properties)
86 return factory 77 return factory
OLDNEW
« no previous file with comments | « scripts/master/factory/chromium_commands.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698