GN: Run a small portion of the test suite for dart2js and the analyzer.

R=zra@google.com

Review URL: https://codereview.chromium.org/2484083002 .
This commit is contained in:
Ryan Macnak 2016-11-08 10:04:45 -08:00
parent d53f26e395
commit f7ed0eb832

12
tools/bots/gn_tests.py Normal file → Executable file
View file

@ -20,6 +20,18 @@ def main(argv):
+ argv[1:])
if build_result != 0:
return build_result
build_result = subprocess.call(
['python', test_py, '--builder-tag=no_ipv6',
'-cdart2js', '-rd8', '--use-sdk', 'language/first']
+ argv[1:])
if build_result != 0:
return build_result
build_result = subprocess.call(
['python', test_py, '--builder-tag=no_ipv6',
'-cdart2analyzer', '-rnone', '--use-sdk', 'language/first']
+ argv[1:])
if build_result != 0:
return build_result
return 0
if __name__ == '__main__':