mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 12:24:24 +00:00
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:
parent
d53f26e395
commit
f7ed0eb832
1 changed files with 12 additions and 0 deletions
12
tools/bots/gn_tests.py
Normal file → Executable file
12
tools/bots/gn_tests.py
Normal file → Executable 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__':
|
||||
|
|
Loading…
Reference in a new issue