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

Side by Side Diff: tools/bots/gn_tests.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
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 SCRIPT_DIR = os.path.dirname(sys.argv[0]) 13 SCRIPT_DIR = os.path.dirname(sys.argv[0])
14 DART_ROOT = os.path.realpath(os.path.join(SCRIPT_DIR, '..', '..')) 14 DART_ROOT = os.path.realpath(os.path.join(SCRIPT_DIR, '..', '..'))
15 15
16 def main(argv): 16 def main(argv):
17 test_py = os.path.join(DART_ROOT, 'tools', 'test.py') 17 test_py = os.path.join(DART_ROOT, 'tools', 'test.py')
18 build_result = subprocess.call( 18 build_result = subprocess.call(
19 ['python', test_py, '--builder-tag=no_ipv6', '--exclude-suite=pkg'] 19 ['python', test_py, '--builder-tag=no_ipv6']
20 + argv[1:]) 20 + argv[1:])
21 if build_result != 0: 21 if build_result != 0:
22 return build_result 22 return build_result
23 build_result = subprocess.call( 23 build_result = subprocess.call(
24 ['python', test_py, '--builder-tag=no_ipv6', 24 ['python', test_py, '--builder-tag=no_ipv6',
25 '-cdart2js', '-rd8', '--use-sdk', 'language/first'] 25 '-cdart2js', '-rd8', '--use-sdk', 'language/first']
26 + argv[1:]) 26 + argv[1:])
27 if build_result != 0: 27 if build_result != 0:
28 return build_result 28 return build_result
29 build_result = subprocess.call( 29 build_result = subprocess.call(
30 ['python', test_py, '--builder-tag=no_ipv6', 30 ['python', test_py, '--builder-tag=no_ipv6',
31 '-cdart2analyzer', '-rnone', '--use-sdk', 'language/first'] 31 '-cdart2analyzer', '-rnone', '--use-sdk', 'language/first']
32 + argv[1:]) 32 + argv[1:])
33 if build_result != 0: 33 if build_result != 0:
34 return build_result 34 return build_result
35 return 0 35 return 0
36 36
37 if __name__ == '__main__': 37 if __name__ == '__main__':
38 sys.exit(main(sys.argv)) 38 sys.exit(main(sys.argv))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698