mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 01:45:06 +00:00
Build SDK and DDC test packages on bots before running tests. (#30081)
The dartdevc_test target is a GN group that includes everything that should be needed to run the dartdevc tests.
This commit is contained in:
parent
7ed5e1c433
commit
788516a71d
|
@ -24,8 +24,13 @@ FLAGS = [
|
|||
]
|
||||
|
||||
if __name__ == '__main__':
|
||||
(bot_name, _) = bot.GetBotName()
|
||||
system = bot_utils.GetSystemFromName(bot_name)
|
||||
info = bot.BuildInfo('dartdevc', 'drt', 'release', system,
|
||||
arch='x64', checked=True)
|
||||
bot.RunTest('dartdevc', info, TARGETS, flags=FLAGS)
|
||||
with bot.BuildStep('Build SDK and dartdevc test packages'):
|
||||
bot.RunProcess([sys.executable, './tools/build.py', '--mode=release',
|
||||
'--arch=x64', 'dartdevc_test'])
|
||||
|
||||
with bot.BuildStep('Run tests'):
|
||||
(bot_name, _) = bot.GetBotName()
|
||||
system = bot_utils.GetSystemFromName(bot_name)
|
||||
info = bot.BuildInfo('dartdevc', 'drt', 'release', system,
|
||||
arch='x64', checked=True)
|
||||
bot.RunTest('dartdevc', info, TARGETS, flags=FLAGS)
|
||||
|
|
Loading…
Reference in a new issue