| Index: tools/bots/ddc_tests.py
|
| diff --git a/tools/bots/ddc_tests.py b/tools/bots/ddc_tests.py
|
| index 5d66befcca544b5327a3ba1a523b0f04012efa39..51068ba5e4716c7ab2e1484567f4697799eb173c 100644
|
| --- a/tools/bots/ddc_tests.py
|
| +++ b/tools/bots/ddc_tests.py
|
| @@ -13,22 +13,19 @@ import subprocess
|
| import bot
|
| import bot_utils
|
|
|
| -utils = bot_utils.GetUtils()
|
| +TARGETS = [
|
| + 'language_strong',
|
| + 'corelib_strong',
|
| + 'lib_strong'
|
| +]
|
|
|
| -BUILD_OS = utils.GuessOS()
|
| -
|
| -(bot_name, _) = bot.GetBotName()
|
| -CHANNEL = bot_utils.GetChannelFromName(bot_name)
|
| +FLAGS = [
|
| + '--strong'
|
| +]
|
|
|
| if __name__ == '__main__':
|
| - with utils.ChangedWorkingDirectory('pkg/dev_compiler'):
|
| - dart_exe = utils.CheckedInSdkExecutable()
|
| -
|
| - # These two calls mirror pkg/dev_compiler/tool/test.sh.
|
| - bot.RunProcess([dart_exe, 'tool/build_pkgs.dart', 'test'])
|
| - bot.RunProcess([dart_exe, 'test/all_tests.dart'])
|
| -
|
| - # TODO(vsm): Our bots do not have node / npm installed.
|
| - # These mirror pkg/dev_compiler/tool/browser_test.sh.
|
| - # bot.RunProcess(['npm', 'install'])
|
| - # bot.RunProcess(['npm', 'test'], {'CHROME_BIN': 'chrome'})
|
| + (bot_name, _) = bot.GetBotName()
|
| + system = bot_utils.GetSystemFromName(bot_name)
|
| + info = bot.BuildInfo('dartdevc', 'chrome', 'release', system,
|
| + arch='x64', checked=True)
|
| + bot.RunTest('dartdevc', info, TARGETS, flags=FLAGS)
|
|
|