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

Side by Side Diff: tools/bots/ddc_tests.py

Issue 2979073002: "Set up directories.." commit below broke the buildbot tests, two others are collateral damage. (Closed)
Patch Set: Created 3 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
« no previous file with comments | « tests/lib_2/math/call_cmath_box_failure_path_test.dart ('k') | tools/testing/dart/options.dart » ('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 # 2 #
3 # Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 3 # Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
4 # for details. All rights reserved. Use of this source code is governed by a 4 # for details. All rights reserved. Use of this source code is governed by a
5 # BSD-style license that can be found in the LICENSE file. 5 # BSD-style license that can be found in the LICENSE file.
6 6
7 import os 7 import os
8 import os.path 8 import os.path
9 import shutil 9 import shutil
10 import sys 10 import sys
11 import subprocess 11 import subprocess
12 12
13 import bot 13 import bot
14 import bot_utils 14 import bot_utils
15 15
16 TARGETS = [ 16 TARGETS = [
17 'language_2',
18 'corelib_2',
19 'lib_2',
20 # TODO(rnystrom): Remove these when all tests have been migrated out.
21 'language_strong', 17 'language_strong',
22 'corelib_strong', 18 'corelib_strong',
23 'lib_strong' 19 'lib_strong'
24 ] 20 ]
25 21
26 FLAGS = [ 22 FLAGS = [
27 '--strong' 23 '--strong'
28 ] 24 ]
29 25
30 if __name__ == '__main__': 26 if __name__ == '__main__':
31 with bot.BuildStep('Build SDK and dartdevc test packages'): 27 with bot.BuildStep('Build SDK and dartdevc test packages'):
32 bot.RunProcess([sys.executable, './tools/build.py', '--mode=release', 28 bot.RunProcess([sys.executable, './tools/build.py', '--mode=release',
33 '--arch=x64', 'dartdevc_test']) 29 '--arch=x64', 'dartdevc_test'])
34 30
35 with bot.BuildStep('Run tests'): 31 with bot.BuildStep('Run tests'):
36 (bot_name, _) = bot.GetBotName() 32 (bot_name, _) = bot.GetBotName()
37 system = bot_utils.GetSystemFromName(bot_name) 33 system = bot_utils.GetSystemFromName(bot_name)
38 info = bot.BuildInfo('dartdevc', 'drt', 'release', system, 34 info = bot.BuildInfo('dartdevc', 'drt', 'release', system,
39 arch='x64', checked=True) 35 arch='x64', checked=True)
40 bot.RunTest('dartdevc', info, TARGETS, flags=FLAGS) 36 bot.RunTest('dartdevc', info, TARGETS, flags=FLAGS)
OLDNEW
« no previous file with comments | « tests/lib_2/math/call_cmath_box_failure_path_test.dart ('k') | tools/testing/dart/options.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698