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

Side by Side Diff: tools/bots/cross-vm.py

Issue 2610943002: Remove 'pkg' from the default list of test suites (Closed)
Patch Set: Created 3 years, 11 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/bots/gn_tests.py » ('j') | tools/testing/dart/test_options.dart » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/python
2 # Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 2 # Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
3 # for details. All rights reserved. Use of this source code is governed by a 3 # for details. All rights reserved. Use of this source code is governed by a
4 # BSD-style license that can be found in the LICENSE file. 4 # BSD-style license that can be found in the LICENSE file.
5 5
6 import os 6 import os
7 import re 7 import re
8 import sys 8 import sys
9 9
10 import bot 10 import bot
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 raise Exception("Invalid annotated steps run") 61 raise Exception("Invalid annotated steps run")
62 finally: 62 finally:
63 for path in temporary_files: 63 for path in temporary_files:
64 if os.path.exists(path): 64 if os.path.exists(path):
65 os.remove(path) 65 os.remove(path)
66 66
67 def target_builder(arch, mode, total_shards, shard_index): 67 def target_builder(arch, mode, total_shards, shard_index):
68 test_py = os.path.join('tools', 'test.py') 68 test_py = os.path.join('tools', 'test.py')
69 test_args = [sys.executable, test_py, '--progress=line', '--report', 69 test_args = [sys.executable, test_py, '--progress=line', '--report',
70 '--time', '--compiler=none', '--runtime=vm', '--write-debug-log', 70 '--time', '--compiler=none', '--runtime=vm', '--write-debug-log',
71 '--write-test-outcome-log', '--mode=' + mode, '--arch=' + arch, 71 '--write-test-outcome-log', '--mode=' + mode, '--arch=' + arch]
72 '--exclude-suite=pkg']
73 if total_shards and shard_index: 72 if total_shards and shard_index:
74 test_args.append('--shards=%s' % total_shards) 73 test_args.append('--shards=%s' % total_shards)
75 test_args.append('--shard=%s' % shard_index) 74 test_args.append('--shard=%s' % shard_index)
76 75
77 revision = os.environ['BUILDBOT_GOT_REVISION'] 76 revision = os.environ['BUILDBOT_GOT_REVISION']
78 tarball = tarball_name(arch, mode, revision) 77 tarball = tarball_name(arch, mode, revision)
79 temporary_files = [tarball] 78 temporary_files = [tarball]
80 bot.Clobber() 79 bot.Clobber()
81 try: 80 try:
82 with bot.BuildStep('Fetch build tarball'): 81 with bot.BuildStep('Fetch build tarball'):
(...skipping 30 matching lines...) Expand all
113 total_shards = target_vm_pattern_match.group(4) 112 total_shards = target_vm_pattern_match.group(4)
114 target_builder(arch, mode, total_shards, shard_index) 113 target_builder(arch, mode, total_shards, shard_index)
115 else: 114 else:
116 raise Exception("Unknown builder name %s" % name) 115 raise Exception("Unknown builder name %s" % name)
117 116
118 if __name__ == '__main__': 117 if __name__ == '__main__':
119 try: 118 try:
120 sys.exit(main()) 119 sys.exit(main())
121 except OSError as e: 120 except OSError as e:
122 sys.exit(e.errno) 121 sys.exit(e.errno)
OLDNEW
« no previous file with comments | « no previous file | tools/bots/gn_tests.py » ('j') | tools/testing/dart/test_options.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698