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

Side by Side Diff: testing/scripts/run_under_valgrind.py

Issue 2062813002: Remove some scripts that were used by the valgrind bots. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebsae Created 3 years, 6 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 | « no previous file | tools/valgrind/chrome_tests.bat » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/usr/bin/env python
2 # Copyright 2016 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
5
6 import json
7 import os
8 import sys
9
10
11 import common
12
13
14 def main_run(args):
15 rc = common.run_runtest(args, [
16 os.path.join(common.SRC_DIR, 'tools', 'valgrind', 'chrome_tests.sh'),
17 '--tool', 'memcheck',
18 '--build-dir', os.path.join(common.SRC_DIR, 'out', args.build_config_fs),
19 ] + args.args)
20
21 json.dump({
22 'valid': True,
23 'failures': ['failed'] if rc else []
24 }, args.output)
25
26 return rc
27
28
29 def main_compile_targets(args):
30 json.dump(['$name'], args.output)
31
32
33 if __name__ == '__main__':
34 funcs = {
35 'run': main_run,
36 'compile_targets': main_compile_targets,
37 }
38 sys.exit(common.run_script(sys.argv[1:], funcs))
OLDNEW
« no previous file with comments | « no previous file | tools/valgrind/chrome_tests.bat » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698