Files
sdk/tools/bots/test_matrix.json
T
Alexander Thomas 182d55dfda [dart2js] Add support for BabelJS to test.py
This adds support for BabelJS to test.py's dart2js compiler
configuration. When --babel is specified directly or through a named
configuration, test.py will run an additional step after dart2js that
post-processes the javascript output by running it through BabelJS with
the specified Babel configuration. BabelJS is added to the DEPS in its
standalone form. d8 is used to run BabelJS standalone to avoid adding
a dependency on NodeJS. d8 can only write to stdout but not to files or
stderr, which makes it necessary to change the test_runner to handle
commands that expect their output to be piped to a file.

Changes:
* Add --babel option to test.py.
* Add babel option to pkg/smith.
* Switch IE11 builder to use babel transformation.
* Fix option list comparison bugs in pkg/smith.
* Change dart2js compiler configuration to generate files using the
  test name rather than just "out.js" (update test that relied on this).
* Remove runtime_configuration dependency on test_suite.
* Remove obsolete blocks adding --preview-dart-2 dart2js arguments.
* Make dart2js' compiler configuration more like DDC's.
* Remove createCommand method that is no longer used.
* Remove support for "OtherResources" which was only used for
  dart:isolate tests on dart2js and DDC.
* Skip co19_2 tests that are slow to transform with babel.
* Simplify the timeout handling in the test runner with Future.timeout.

Change-Id: I32e4917b2a57ecbe684538e40d744f0101c552a0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/90402
Commit-Queue: Alexander Thomas <athom@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
2019-05-29 08:39:44 +00:00

2084 lines
58 KiB
JSON

{
"global": {
"chrome": "65",
"firefox": "61"
},
"branches": [
"analyzer-stable",
"master"
],
"filesets": {
"analyzer_unit_tests": [
".packages",
"pkg/",
"third_party/pkg/",
"third_party/pkg_tested/",
"tools/",
"out/ReleaseX64/dart-sdk/",
"xcodebuild/ReleaseX64/dart-sdk/"
],
"dart2js": [
".packages",
"out/ReleaseIA32/dart-sdk/",
"out/ReleaseX64/dart-sdk/",
"out/ReleaseX64/gen/utils/dartdevc/",
"pkg/",
"runtime/tests/",
"samples-dev/",
"samples/",
"sdk/",
"tests/angular/",
"tests/co19_2/co19_2-analyzer.status",
"tests/co19_2/co19_2-dart2js.status",
"tests/co19_2/co19_2-kernel.status",
"tests/co19_2/co19_2-runtime.status",
"tests/compiler/",
"tests/corelib_2/",
"tests/dart/",
"tests/kernel/",
"tests/language_2/",
"tests/lib_2/",
"tests/light_unittest.dart",
"tests/search/",
"tests/standalone/",
"tests/standalone_2/",
"tests/ffi/",
"third_party/babel/babel.min.js",
"third_party/d8/",
"third_party/observatory_pub_packages/packages/web_components/",
"third_party/pkg/",
"third_party/pkg_tested/",
"third_party/requirejs/",
"tools/",
"xcodebuild/ReleaseIA32/dart-sdk/",
"xcodebuild/ReleaseX64/dart-sdk/",
"xcodebuild/ReleaseX64/gen/utils/dartdevc/"
],
"dart2js_hostasserts": [
".packages",
"out/ReleaseIA32/dart",
"out/ReleaseIA32/dart2js_platform.dill",
"out/ReleaseIA32/dart2js_platform_strong.dill",
"out/ReleaseX64/dart",
"out/ReleaseX64/dart2js_platform.dill",
"out/ReleaseX64/dart2js_platform_strong.dill",
"pkg/",
"runtime/tests/",
"samples-dev/",
"samples/",
"sdk/",
"tests/angular/",
"tests/co19_2/co19_2-analyzer.status",
"tests/co19_2/co19_2-dart2js.status",
"tests/co19_2/co19_2-kernel.status",
"tests/co19_2/co19_2-runtime.status",
"tests/compiler/",
"tests/corelib_2/",
"tests/dart/",
"tests/kernel/",
"tests/language_2/",
"tests/lib_2/",
"tests/light_unittest.dart",
"tests/search/",
"tests/standalone/",
"tests/standalone_2/",
"tests/ffi/",
"third_party/d8/",
"third_party/pkg/",
"third_party/pkg_tested/",
"third_party/requirejs/",
"tools/",
"xcodebuild/ReleaseIA32/dart",
"xcodebuild/ReleaseIA32/dart2js_platform.dill",
"xcodebuild/ReleaseIA32/dart2js_platform_strong.dill",
"xcodebuild/ReleaseX64/dart",
"xcodebuild/ReleaseX64/dart2js_platform.dill",
"xcodebuild/ReleaseX64/dart2js_platform_strong.dill"
],
"fuzzer": [
"runtime/tools/dartfuzz/",
"out/DebugIA32/",
"out/DebugSIMARM/",
"out/DebugSIMARM64/",
"out/DebugSIMDBC/",
"out/DebugSIMDBC64/",
"out/DebugX64/",
"out/ProductX64/",
"out/ReleaseIA32/",
"out/ReleaseSIMARM/",
"out/ReleaseSIMARM64/",
"out/ReleaseSIMDBC/",
"out/ReleaseSIMDBC64/",
"out/ReleaseX64/",
"third_party/pkg/",
"third_party/pkg_tested/",
"third_party/observatory_pub_packages/packages/",
"tools/sdks/dart-sdk/",
"pkg/async_helper/",
"pkg/build_integration/",
"pkg/dart_internal/",
"pkg/expect/",
"pkg/front_end/",
"pkg/js/",
"pkg/kernel/",
"pkg/meta/",
"pkg/vm/",
"runtime/",
"sdk/",
".packages"
],
"vm-kernel": [
"out/DebugIA32/",
"out/DebugX64/",
"out/DebugSIMARM/",
"out/DebugSIMARM64/",
"out/DebugSIMDBC64/",
"out/DebugAndroidARM/",
"out/DebugAndroidARM64/",
"out/ReleaseIA32/",
"out/ReleaseX64/",
"out/ReleaseSIMARM/",
"out/ReleaseSIMARM64/",
"out/ReleaseSIMDBC64/",
"out/ReleaseAndroidARM/",
"out/ReleaseAndroidARM64/",
"out/ReleaseXARM64/",
"out/ProductIA32/",
"out/ProductX64/",
"out/ProductSIMARM/",
"out/ProductSIMARM64/",
"out/ProductSIMDBC64/",
"out/ProductAndroidARM/",
"out/ProductAndroidARM64/",
"xcodebuild/DebugIA32/",
"xcodebuild/DebugSIMDBC64/",
"xcodebuild/DebugX64/",
"xcodebuild/ProductX64/",
"xcodebuild/ReleaseIA32/",
"xcodebuild/ReleaseSIMARM64/",
"xcodebuild/ReleaseSIMDBC64/",
"xcodebuild/ReleaseX64/",
"samples/",
"samples-dev/",
"tools/",
"third_party/android_tools/sdk/platform-tools/adb",
"third_party/pkg/",
"third_party/pkg_tested/",
"third_party/observatory_pub_packages/packages/",
"tests/angular/",
"tests/co19_2/co19_2-analyzer.status",
"tests/co19_2/co19_2-dart2js.status",
"tests/co19_2/co19_2-kernel.status",
"tests/co19_2/co19_2-runtime.status",
"tests/compiler/",
"tests/corelib_2/",
"tests/dart/",
"tests/kernel/",
"tests/language_2/",
"tests/lib_2/",
"tests/light_unittest.dart",
"tests/search/",
"tests/standalone/",
"tests/standalone_2/",
"tests/ffi/",
"pkg/async_helper/",
"pkg/build_integration/",
"pkg/dart_internal/",
"pkg/expect/",
"pkg/front_end/",
"pkg/js/",
"pkg/kernel/",
"pkg/meta/",
"pkg/pkg.status",
"pkg/smith/",
"pkg/status_file/",
"pkg/vm/",
"runtime/",
"sdk/",
".packages",
".vpython"
]
},
"configurations": {
"unittest-(linux|win|mac)": {
"options": {
"compiler": "dartk",
"mode": "release",
"runtime": "vm",
"timeout": 240,
"use-sdk": true
}},
"unittest-asserts-(debug|product|release)-(linux|mac|win)": {
"options": {
"compiler": "dartk",
"enable-asserts": true,
"runtime": "vm",
"timeout": 240,
"use-sdk": true
}},
"unittest-asserts-no-sdk-(linux|mac|win)": {
"options": {
"compiler": "dartk",
"enable-asserts": true,
"mode": "release",
"runtime": "vm",
"timeout": 240
}},
"unittest-analyzer_use_fasta-(linux|mac|win)": {
"options": {
"compiler": "none",
"runtime": "vm",
"mode": "release",
"use-sdk": true,
"vm-options": ["-DuseFastaParser=true"],
"builder-tag": "analyzer_use_fasta"
}},
"dartk-asan-(linux|mac|win)-(debug|product|release)-(ia32|x64)": {
"options": {
"builder-tag": "asan",
"timeout": 240
}},
"dart2js-(linux|mac|win)-chrome": {
"options": {
"use-sdk": true
}},
"dart2js-(linux|win)-firefox": {
"options": {
"use-sdk": true
}},
"dart2js-win-ie11": {
"options": {
"use-sdk": true,
"babel": "{\"presets\":[\"es2015\"]}"
}},
"dart2js-win-edge": {
"options": {
"use-sdk": true
}},
"dart2js-mac-safari": {
"options": {
"use-sdk": true
}},
"dart2js-minified-csp-(linux|mac|win)-chrome": {
"options": {
"minified": true,
"csp": true,
"use-sdk": true
}},
"dart2js-minified-(linux|mac|win)-d8": {
"options": {
"minified": true,
"use-sdk": true
}},
"dart2js-production-(linux|mac|win)-d8": {
"options": {
"builder-tag": "dart2js_production",
"use-sdk": true,
"dart2js-options": ["-O3"]
}},
"dart2js-hostasserts-(linux|mac|win)-(ia32|x64)-d8": {
"options": {
"host-checked": true
}},
"dartkp-android-(debug|product|release)-(arm|arm64)": {
"options": {
"use-elf": true
}},
"dartk-android-(debug|product|release)-(arm|arm64)": {},
"dartkp-linux-(debug|product|release)-(simarm|simarm64)": {
"options": {
"use-blobs": true
}},
"dartkp-(win|mac)-(debug|product|release)-(simarm|simarm64)": {
"options": {
"use-blobs": true
}},
"dartkp-win-(product|release)-x64": {
"options": {
"use-blobs": true
}},
"dartkp-win-debug-x64": {
"options": {
"use-blobs": true,
"vm-options": ["--no-enable-malloc-hooks"]
}},
"dartkp-(linux|mac)-(product|release)-x64": { },
"dartkp-obfuscate-(linux|mac|win)-(debug|product|release)-x64": {
"options": {
"builder-tag": "obfuscated",
"vm-options": ["--obfuscate"]
}},
"dartkp-(linux|mac)-debug-x64": {
"options": {
"vm-options": ["--no-enable-malloc-hooks"]
}},
"dartkp-no-bare-(linux|mac|win)-(debug|product|release)-x64": {
"options": {
"vm-options": ["--no-enable-malloc-hooks", "--no-use-bare-instructions"]
}},
"dartkp-no-bare-(linux|mac|win)-(debug|product|release)-(simarm|simarm64)": {
"options": {
"vm-options": ["--no-enable-malloc-hooks", "--no-use-bare-instructions"],
"use-blobs": true
}},
"dartk-(linux|mac|win)-(debug|product|release)-(ia32|x64)": { },
"dartk-checked-(linux|mac|win)-(debug|product|release)-(ia32|x64)": {
"options": {
"enable-asserts": true
}},
"dartk-(linux|mac|win)-(debug|product|release)-(arm64|simarm|simarm64|simdbc64)": { },
"dartk-optcounter-(linux|mac|win)-(debug|product|release)-(ia32|x64)": {
"options": {
"builder-tag": "optimization_counter_threshold",
"vm-options": ["--optimization-counter-threshold=5", "--random-seed=__RANDOM__"]
}},
"dartk-reload-(linux|mac|win)-(debug|product|release)-(ia32|x64)": {
"options": {
"hot-reload": true
}},
"dartk-reload-mac-(debug|product|release)-simdbc64": {
"options": {
"hot-reload": true
}},
"dartk-reload-rollback-(linux|mac|win)-(debug|product|release)-(ia32|x64)": {
"options": {
"hot-reload-rollback": true
}},
"app_jitk-(linux|mac|win)-(debug|product|release)-(ia32|x64)": { },
"dartkb-interpret-(linux|mac|win)-(debug|product|release)-(ia32|x64|arm|arm64|simarm|simarm64)": {
"options": {
"vm-options": ["--enable_interpreter", "--compilation-counter-threshold=-1"]
}},
"dartkb-mixed-(linux|mac|win)-(debug|product|release)-(ia32|x64|arm|arm64|simarm|simarm64)": {
"options": {
"vm-options": ["--enable_interpreter"]
}},
"dartkb-compile-(linux|mac|win)-(debug|product|release)-(ia32|x64|arm|arm64|simarm|simarm64)": {
"options": {
"vm-options": ["--use_bytecode_compiler"]
}},
"(dartdevc|dartdevk)-checked-(linux|mac|win)-(debug|product|release)-chrome": {
"options": {
"checked": true,
"use-sdk": true
}},
"fasta-(linux|mac|win)": { },
"analyzer-(linux|mac|win)": {
"options": {
"compiler": "dart2analyzer",
"use-sdk": true
}},
"analyzer-asserts-(linux|mac|win)": {
"options": {
"compiler": "dart2analyzer",
"enable-asserts": true,
"use-sdk": true
}}
},
"builder_configurations": [
{
"builders": [
"front-end-linux-release-x64",
"front-end-mac-release-x64",
"front-end-win-release-x64"
],
"meta": {
"description": "Runs the front-end unit tests and fasta tests."
},
"steps": [
{
"name": "build dart",
"script": "tools/build.py",
"arguments": [
"create_sdk",
"dartdevc_test",
"kernel_platform_files",
"runtime_kernel"
]
},
{
"name": "unit tests",
"script": "tools/disguised_test.py",
"arguments": [
"-nunittest-asserts-${mode}-${system}",
"pkg/(kernel|front_end|fasta)"
]
},
{
"name": "fasta sdk tests",
"arguments": ["-nfasta-${system}"]
},
{
"name": "fasta co19_2 tests",
"arguments": [
"-nfasta-${system}",
"co19_2"
]
}
]
},
{
"builders": [
"vm-dartkb-linux-debug-x64",
"vm-dartkb-linux-release-x64",
"vm-dartkb-linux-product-x64",
"vm-dartkb-linux-debug-simarm64",
"vm-dartkb-linux-release-simarm64",
"vm-dartkb-linux-product-simarm64"
],
"meta": {
"description": "This configuration is used by the vm kbc builders."
},
"steps": [
{
"name": "configure dart",
"script": "tools/gn.py",
"arguments": [
"--mode=${mode}",
"--arch=${arch}",
"--bytecode"
]
},
{
"name": "build dart",
"script": "tools/build.py",
"arguments": [
"runtime"
]
},
{
"name": "vm mixed mode tests",
"arguments": [
"-ndartkb-mixed-linux-${mode}-${arch}"
],
"fileset": "vm-kernel",
"shards": 10
},
{
"name": "vm bytecode compiler tests",
"arguments": [
"-ndartkb-compile-linux-${mode}-${arch}"
],
"fileset": "vm-kernel",
"shards": 10
},
{
"name": "vm interpreter tests",
"arguments": [
"-ndartkb-interpret-linux-${mode}-${arch}"
],
"fileset": "vm-kernel",
"shards": 10
}
]
},
{
"builders": [
"vm-canary-linux-debug"
],
"meta": {
"description": "This configuration is used to get fast feedback on vm builds."
},
"steps": [
{
"name": "build dart",
"script": "tools/build.py",
"arguments": ["--arch=ia32,x64", "runtime"]
},
{
"name": "vm ia32 tests",
"arguments": [
"-ndartk-linux-debug-ia32",
"vm"]
},
{
"name": "vm x64 tests",
"arguments": [
"-ndartk-linux-debug-x64",
"vm"]
}
]
},
{
"builders": [
"vm-kernel-precomp-android-release-arm"
],
"meta": {
"description": "This configuration is used by the vm precomp builders on Android."
},
"steps": [
{
"name": "build dart",
"script": "tools/build.py",
"arguments": [
"runtime_kernel",
"dart_precompiled_runtime",
"--os=android"
]
},
{
"name": "vm tests",
"arguments": [
"-ndartkp-android-${mode}-${arch}",
"-j2"
],
"fileset": "vm-kernel",
"shards": 15
}
]
},
{
"builders": [
"vm-ffi-android-debug-arm64",
"vm-ffi-android-debug-arm",
"vm-ffi-android-release-arm64",
"vm-ffi-android-release-arm",
"vm-ffi-android-product-arm64",
"vm-ffi-android-product-arm"
],
"meta": {
"description": "This configuration is used for running FFI tests in JIT-mode on Android."
},
"steps": [
{
"name": "build dart",
"script": "tools/build.py",
"arguments": [
"runtime_kernel",
"--os=android"
]
},
{
"name": "ffi tests",
"arguments": [
"-ndartk-android-${mode}-${arch}",
"ffi"
],
"fileset": "vm-kernel",
"shards": 1
}
]
},
{
"builders": [
"vm-kernel-precomp-linux-product-x64",
"vm-kernel-precomp-linux-release-simarm",
"vm-kernel-precomp-linux-release-simarm64",
"vm-kernel-precomp-linux-release-x64",
"vm-kernel-precomp-mac-release-simarm64",
"vm-kernel-precomp-win-release-simarm64",
"vm-kernel-precomp-win-release-x64"
],
"meta": {
"description": "This configuration is used by the vm kernel precomp builders."
},
"steps": [
{
"name": "build dart",
"script": "tools/build.py",
"arguments": [
"runtime_kernel",
"dart_precompiled_runtime"
]
},
{
"name": "vm tests",
"arguments": [
"-ndartkp-${system}-${mode}-${arch}"
],
"fileset": "vm-kernel",
"shards": 10
}
]
},
{
"builders": [
"vm-kernel-precomp-linux-debug-x64"
],
"meta": {
"description": "This configuration is used by the vm kernel precomp debug builders. It uses 15 shards for testing to avoid 1 hour shard timeouts."
},
"steps": [
{
"name": "build dart",
"script": "tools/build.py",
"arguments": [
"runtime_kernel",
"dart_precompiled_runtime"
]
},
{
"name": "vm tests",
"arguments": [
"-ndartkp-${system}-${mode}-${arch}"
],
"fileset": "vm-kernel",
"shards": 15
}
]
},
{
"builders": [
"vm-kernel-precomp-bare-linux-release-x64",
"vm-kernel-precomp-bare-linux-release-simarm",
"vm-kernel-precomp-bare-linux-release-simarm64"
],
"meta": {
"description": "This configuration is used by the vm kernel precomp builders using bare instructions."
},
"steps": [
{
"name": "build dart",
"script": "tools/build.py",
"arguments": [
"runtime_kernel",
"dart_precompiled_runtime"
]
},
{
"name": "vm tests",
"arguments": [
"-ndartkp-no-bare-${system}-${mode}-${arch}"
],
"fileset": "vm-kernel",
"shards": 10
}
]
},
{
"builders": [
"vm-kernel-precomp-obfuscate-linux-release-x64"
],
"meta": {
"description": "This configuration is used by the obfuscated vm kernel precomp builders."
},
"steps": [
{
"name": "build dart",
"script": "tools/build.py",
"arguments": [
"runtime_kernel",
"dart_precompiled_runtime"
]
},
{
"name": "vm tests",
"arguments": [
"-ndartkp-obfuscate-${system}-${mode}-${arch}"
],
"fileset": "vm-kernel",
"shards": 10
}
]
},
{
"builders": [
"vm-kernel-asan-linux-release-ia32",
"vm-kernel-asan-linux-release-x64"
],
"meta": {
"description": "This configuration is used by the vm builders with address sanitizing (asan). We have to run gn.py with the DART_USE_ASAN options, which we do by running generate_buildfiles."
},
"steps": [
{
"name": "build dart",
"script": "tools/build.py",
"arguments": ["runtime"],
"environment": {"DART_USE_ASAN": 1}
},
{
"name": "vm tests",
"arguments": [
"-ndartk-asan-linux-release-${arch}"],
"environment": {
"ASAN_OPTIONS": "handle_segv=0:detect_stack_use_after_return=0:disable_coredump=0",
"ASAN_SYMBOLIZER_PATH": "buildtools/linux-x64/clang/bin/llvm-symbolizer"
}
}
]
},
{
"builders": [
"vm-kernel-linux-release-simarm",
"vm-kernel-linux-release-simarm64",
"vm-kernel-linux-release-ia32",
"vm-kernel-win-debug-ia32",
"vm-kernel-win-debug-x64",
"vm-kernel-win-product-x64",
"vm-kernel-win-release-ia32",
"vm-kernel-win-release-x64"
],
"meta": {
"description": "This configuration is for the kernel builder group."
},
"steps": [
{
"name": "build dart",
"script": "tools/build.py",
"arguments": ["runtime_kernel"]
},
{
"name": "vm tests",
"arguments": [
"-ndartk-${system}-${mode}-${arch}"],
"fileset": "vm-kernel",
"shards": 10
}
]
},
{
"builders": [
"vm-kernel-linux-product-x64",
"vm-kernel-linux-release-simdbc64",
"vm-kernel-linux-release-x64",
"vm-kernel-linux-debug-ia32",
"vm-kernel-linux-debug-simdbc64",
"vm-kernel-linux-debug-x64",
"vm-kernel-mac-product-x64",
"vm-kernel-mac-release-simdbc64",
"vm-kernel-mac-release-x64",
"vm-kernel-mac-debug-simdbc64",
"vm-kernel-mac-debug-x64"
],
"meta": {
"description": "This configuration is for the co19_2 kernel builder group."
},
"steps": [
{
"name": "build dart",
"script": "tools/build.py",
"arguments": ["runtime_kernel"]
},
{
"name": "vm tests",
"arguments": [
"-ndartk-${system}-${mode}-${arch}"],
"fileset": "vm-kernel",
"shards": 10
},
{
"name": "vm co19 tests",
"arguments": [
"-ndartk-${system}-${mode}-${arch}",
"co19_2"
],
"fileset": "vm-kernel",
"shards": 10
}
]
},
{
"builders": [
"vm-kernel-checked-linux-release-x64"
],
"meta": {
"description": "This configuration is for the kernel builder group in checked mode."
},
"steps": [
{
"name": "build dart",
"script": "tools/build.py",
"arguments": ["runtime_kernel"]
},
{
"name": "vm tests",
"arguments": [
"-ndartk-checked-linux-release-x64"],
"fileset": "vm-kernel",
"shards": 10
}
]
},
{
"builders": [
"cross-vm-linux-release-arm64"
],
"meta": {
"description": "This configuration is for the cross arm builders."
},
"steps": [
{
"name": "build dart",
"script": "tools/build.py",
"arguments": ["runtime_kernel"]
},
{
"name": "vm tests",
"arguments": ["-ndartk-${system}-${mode}-${arch}"],
"fileset": "vm-kernel",
"shards": 1
}
]
},
{
"builders": [
"app-kernel-linux-debug-x64",
"app-kernel-linux-product-x64",
"app-kernel-linux-release-x64"
],
"meta": {
"description": "This configuration is used by the vm kernel app builder group."
},
"steps": [
{
"name": "build dart",
"script": "tools/build.py",
"arguments": [
"runtime_kernel"
]
},
{
"name": "vm tests",
"arguments": [
"-napp_jitk-linux-${mode}-x64"],
"shards": 6,
"fileset": "vm-kernel"
}
]
},
{
"builders": [
"ddc-linux-release-chrome",
"ddc-win-release-chrome"
],
"meta": {
"description": "This configuration is used by the ddc builder group."
},
"steps": [
{
"name": "build dart",
"script": "tools/build.py",
"arguments": ["dart2js_bot", "dartdevc_test"]
},
{
"name": "ddc co19_2 tests",
"arguments": [
"-ndartdevc-checked-${system}-release-chrome",
"co19_2"
],
"shards": 6,
"fileset": "dart2js"
},
{
"name": "ddk co19_2 tests",
"arguments": [
"-ndartdevk-checked-${system}-release-chrome",
"co19_2"
],
"shards": 6,
"fileset": "dart2js"
},
{
"name": "ddc tests",
"arguments": [
"-ndartdevc-checked-${system}-release-chrome",
"language_2",
"corelib_2",
"lib_2",
"dartdevc_native"
]
},
{
"name": "ddc kernel tests",
"arguments": [
"-ndartdevk-checked-${system}-release-chrome",
"language_2",
"corelib_2",
"lib_2",
"dartdevc_native"
]
},
{
"name": "ddc sourcemap tests",
"script": "out/ReleaseX64/dart",
"arguments": [
"pkg/dev_compiler/test/sourcemap/sourcemaps_ddc_suite.dart",
"-rnone"
]
},
{
"name": "ddk sourcemap tests",
"script": "out/ReleaseX64/dart",
"arguments": [
"pkg/dev_compiler/test/sourcemap/sourcemaps_ddk_suite.dart",
"-rnone"
]
},
{
"name": "ddc sourcemap stacktrace tests",
"script": "out/ReleaseX64/dart",
"arguments": [
"pkg/dev_compiler/test/sourcemap/stacktrace_ddc_suite.dart",
"-rnone"
]
},
{
"name": "ddk sourcemap stacktrace tests",
"script": "out/ReleaseX64/dart",
"arguments": [
"pkg/dev_compiler/test/sourcemap/stacktrace_ddk_suite.dart",
"-rnone"
]
},
{
"name": "ddc worker tests",
"script": "out/ReleaseX64/dart",
"arguments": [
"pkg/dev_compiler/test/worker/worker_test.dart",
"-rnone"
]
},
{
"name": "ddc self host test",
"script": "out/ReleaseX64/dart-sdk/bin/dart",
"arguments": [
"--enable-asserts",
"pkg/dev_compiler/bin/dartdevc.dart",
"-o=out/ReleaseX64/dartdevc.js",
"pkg/dev_compiler/bin/dartdevc.dart"
]
},
{
"name": "ddk self host test",
"script": "out/ReleaseX64/dart-sdk/bin/dart",
"arguments": [
"--enable-asserts",
"pkg/dev_compiler/bin/dartdevc.dart",
"-k",
"-o=out/ReleaseX64/dartdevk.js",
"pkg/dev_compiler/bin/dartdevc.dart"
]
}
]
},
{
"builders": [
"ddc-mac-release-chrome"
],
"meta": {
"description": "This configuration is used by the ddc builder group."
},
"steps": [
{
"name": "build dart",
"script": "tools/build.py",
"arguments": ["dart2js_bot", "dartdevc_test"]
},
{
"name": "ddc tests",
"arguments": [
"-ndartdevc-checked-mac-release-chrome",
"language_2",
"corelib_2",
"lib_2",
"dartdevc_native"
]
},
{
"name": "ddc kernel tests",
"arguments": [
"-ndartdevk-checked-mac-release-chrome",
"language_2",
"corelib_2",
"lib_2",
"dartdevc_native"
]
},
{
"name": "ddc sourcemap tests",
"script": "xcodebuild/ReleaseX64/dart",
"arguments": [
"pkg/dev_compiler/test/sourcemap/sourcemaps_ddc_suite.dart",
"-rnone"
]
},
{
"name": "ddk sourcemap tests",
"script": "xcodebuild/ReleaseX64/dart",
"arguments": [
"pkg/dev_compiler/test/sourcemap/sourcemaps_ddk_suite.dart",
"-rnone"
]
},
{
"name": "ddc sourcemap stacktrace tests",
"script": "xcodebuild/ReleaseX64/dart",
"arguments": [
"pkg/dev_compiler/test/sourcemap/stacktrace_ddc_suite.dart",
"-rnone"
]
},
{
"name": "ddk sourcemap stacktrace tests",
"script": "xcodebuild/ReleaseX64/dart",
"arguments": [
"pkg/dev_compiler/test/sourcemap/stacktrace_ddk_suite.dart",
"-rnone"
]
},
{
"name": "ddc worker tests",
"script": "xcodebuild/ReleaseX64/dart",
"arguments": [
"pkg/dev_compiler/test/worker/worker_test.dart",
"-rnone"
]
},
{
"name": "ddc self host test",
"script": "xcodebuild/ReleaseX64/dart-sdk/bin/dart",
"arguments": [
"--enable-asserts",
"pkg/dev_compiler/bin/dartdevc.dart",
"-o=xcodebuild/ReleaseX64/dartdevc.js",
"pkg/dev_compiler/bin/dartdevc.dart"
]
},
{
"name": "ddk self host test",
"script": "xcodebuild/ReleaseX64/dart-sdk/bin/dart",
"arguments": [
"--enable-asserts",
"pkg/dev_compiler/bin/dartdevc.dart",
"-k",
"-o=xcodebuild/ReleaseX64/dartdevk.js",
"pkg/dev_compiler/bin/dartdevc.dart"
]
}
]
},
{
"builders": [
"vm-kernel-optcounter-threshold-linux-release-ia32",
"vm-kernel-optcounter-threshold-linux-release-x64"
],
"meta": {
"description": "This is the configuration for the kernel optcounter builders, under the vm-kernel group. They run the same tests as the ordinary VM kernel builders, but add extra options to the vm."
},
"steps": [
{
"name": "build dart",
"script": "tools/build.py",
"arguments": [
"runtime_kernel"
]
},
{
"name": "vm tests",
"arguments": [
"-ndartk-optcounter-linux-release-${arch}"],
"fileset": "vm-kernel",
"shards": 10
}
]
},
{
"builders": [
"vm-kernel-reload-linux-debug-x64",
"vm-kernel-reload-linux-release-x64",
"vm-kernel-reload-mac-debug-simdbc64",
"vm-kernel-reload-mac-release-simdbc64"
],
"meta": {
"description": "This is the configuration for the kernel hot reload builders."
},
"steps": [
{
"name": "build dart",
"script": "tools/build.py",
"arguments": ["runtime_kernel"]
},
{
"name": "vm tests",
"arguments": [
"-ndartk-reload-${system}-${mode}-${arch}"],
"fileset": "vm-kernel",
"shards": 10
}
]
},
{
"builders": [
"vm-kernel-reload-rollback-linux-debug-x64",
"vm-kernel-reload-rollback-linux-release-x64"
],
"meta": {
"description": "This is the configuration for kernel reload rollback builders."
},
"steps": [
{
"name": "build dart",
"script": "tools/build.py",
"arguments": ["runtime_kernel"]
},
{
"name": "vm tests",
"arguments": [
"-ndartk-reload-rollback-linux-${mode}-x64"],
"fileset": "vm-kernel",
"shards": 10
}
]
},
{
"builders": [
"dart2js-unit-linux-x64-release"
],
"meta": {
"description": "Runs the dart2js unit tests."
},
"steps": [
{
"name": "build dart",
"script": "tools/build.py",
"arguments": ["create_sdk"]
},
{
"name": "dart2js unit tests",
"arguments": [
"-nunittest-asserts-no-sdk-linux",
"dart2js",
"pkg//compiler/"
]
}
]
},
{
"builders": [
"dart2js-strong-hostasserts-linux-ia32-d8"
],
"meta": {
"description": "dart2js-d8 tests with assertions during compilation"
},
"steps": [
{
"name": "build dart",
"script": "tools/build.py",
"arguments": ["dart2js_bot"]
},
{
"name": "dart2js tests",
"arguments": [
"-ndart2js-hostasserts-linux-ia32-d8",
"--dart2js-batch",
"--exclude_suite=observatory_ui"
],
"shards": 6,
"fileset": "dart2js_hostasserts"
},
{
"name": "dart2js co19_2 tests",
"arguments": [
"-ndart2js-hostasserts-linux-ia32-d8",
"--dart2js-batch",
"co19_2"
],
"shards": 6,
"fileset": "dart2js_hostasserts"
},
{
"name": "dart2js package tests",
"arguments": [
"-ndart2js-hostasserts-linux-ia32-d8",
"--dart2js-batch",
"pkg"
]
},
{
"name": "dart2js observatory-ui tests",
"arguments": [
"-ndart2js-hostasserts-linux-ia32-d8",
"--dart2js-batch",
"observatory_ui"
]
},
{
"name": "dart2js extra tests",
"arguments": [
"-ndart2js-hostasserts-linux-ia32-d8",
"--dart2js-batch",
"dart2js_extra",
"dart2js_native"
]
}
]
},
{
"builders": [
"dart2js-strong-linux-x64-chrome",
"dart2js-strong-linux-x64-firefox",
"dart2js-strong-mac-x64-chrome",
"dart2js-strong-mac-x64-safari",
"dart2js-strong-win-x64-chrome",
"dart2js-strong-win-x64-edge",
"dart2js-strong-win-x64-firefox",
"dart2js-strong-win-x64-ie11"
],
"meta": {
"description": "dart2js browser tests for Dart 2.0."
},
"steps": [
{
"name": "build dart",
"script": "tools/build.py",
"arguments": ["create_sdk"]
},
{
"name": "dart2js tests",
"arguments": [
"-ndart2js-${system}-${runtime}",
"--dart2js-batch",
"--reset-browser-configuration",
"--exclude_suite=observatory_ui"
],
"shards": 6,
"fileset": "dart2js"
},
{
"name": "dart2js co19_2 tests",
"arguments": [
"-ndart2js-${system}-${runtime}",
"--dart2js-batch",
"--reset-browser-configuration",
"co19_2"
],
"shards": 6,
"fileset": "dart2js"
},
{
"name": "dart2js package tests",
"arguments": [
"-ndart2js-${system}-${runtime}",
"--dart2js-batch",
"--reset-browser-configuration",
"pkg"
]
},
{
"name": "dart2js observatory-ui tests",
"arguments": [
"-ndart2js-${system}-${runtime}",
"--dart2js-batch",
"--reset-browser-configuration",
"observatory_ui"
]
},
{
"name": "dart2js extra tests",
"arguments": [
"-ndart2js-${system}-${runtime}",
"--dart2js-batch",
"--reset-browser-configuration",
"dart2js_extra",
"dart2js_native"
]
}
]
},
{
"builders": ["dart2js-minified-strong-linux-x64-d8"],
"meta": {
"description": "dart2js tests for Dart 2.0."
},
"steps": [
{
"name": "build dart",
"script": "tools/build.py",
"arguments": ["create_sdk"]
},
{
"name": "dart2js tests",
"arguments": [
"-ndart2js-minified-linux-d8",
"--dart2js-batch",
"--exclude_suite=observatory_ui"
],
"shards": 6,
"fileset": "dart2js"
},
{
"name": "dart2js package tests",
"arguments": [
"-ndart2js-minified-linux-d8",
"--dart2js-batch",
"pkg"
]
},
{
"name": "dart2js observatory-ui tests",
"arguments": [
"-ndart2js-minified-linux-d8",
"--dart2js-batch",
"observatory_ui"
]
},
{
"name": "dart2js extra tests",
"arguments": [
"-ndart2js-minified-linux-d8",
"--dart2js-batch",
"dart2js_extra",
"dart2js_native"
]
},
{
"name": "dart2js production tests",
"arguments": [
"-ndart2js-production-linux-d8",
"--dart2js-batch",
"--exclude_suite=observatory_ui"
],
"shards": 6,
"fileset": "dart2js"
},
{
"name": "dart2js production extra tests",
"arguments": [
"-ndart2js-production-linux-d8",
"--dart2js-batch",
"dart2js_extra",
"dart2js_native"
]
}
]
},
{
"builders": ["dart2js-csp-minified-linux-x64-chrome"],
"meta": {
"description": "dart2js tests in csp and minified mode."
},
"steps": [
{
"name": "build dart",
"script": "tools/build.py",
"arguments": ["create_sdk"]
},
{
"name": "dart2js tests",
"arguments": [
"-ndart2js-minified-csp-linux-chrome",
"--dart2js-batch",
"--reset-browser-configuration",
"--exclude_suite=observatory_ui"
],
"shards": 4,
"fileset": "dart2js"
},
{
"name": "dart2js package tests",
"arguments": [
"-ndart2js-minified-csp-linux-chrome",
"--dart2js-batch",
"--reset-browser-configuration",
"pkg"
]
},
{
"name": "dart2js observatory-ui tests",
"arguments": [
"-ndart2js-minified-csp-linux-chrome",
"--dart2js-batch",
"--reset-browser-configuration",
"observatory_ui"
]
},
{
"name": "dart2js extra tests",
"arguments": [
"-ndart2js-minified-csp-linux-chrome",
"--dart2js-batch",
"dart2js_extra",
"dart2js_native"
]
}
]
},
{
"builders": [
"dart-sdk-linux"
],
"meta": {
"description": "This configuration is used by the linux sdk builder. The difference between this configuration and the other sdk builder configurations is that this one also generates the api docs."
},
"steps": [
{
"name": "build dart",
"script": "tools/build.py",
"arguments": ["--arch=ia32,x64,arm,arm64",
"--mode=release", "create_sdk"]
},
{
"name": "build gen_kernel.dart.snapshot and dart2aot",
"script": "tools/build.py",
"arguments": ["--arch=x64,arm,arm64", "--mode=release",
"copy_gen_kernel_snapshot", "copy_dart2aot"]
},
{
"name": "build gen_snapshot and dartaotruntime",
"script": "tools/build.py",
"arguments": ["--arch=x64,arm,arm64", "--mode=product",
"copy_gen_snapshot", "copy_dartaotruntime"]
},
{
"name": "upload sdk",
"script": "tools/bots/dart_sdk.py"
},
{
"name": "run smoke tests",
"script": "out/ReleaseX64/dart",
"arguments": [
"tools/bots/aot_smoke_tests.dart"
]
},
{
"name": "build api docs",
"script": "tools/bots/dart_sdk.py",
"arguments": [ "api_docs" ]
},
{
"name": "upload abi dills",
"script": "tools/upload_abi_dills.sh",
"arguments": [
"tools/VERSION",
"out/ReleaseX64"
]
}
]
},
{
"builders": ["dart-sdk-mac"],
"meta": {
"description": "This configuration is used by the sdk-builders for MacOS."
},
"steps": [
{
"name": "build dart",
"script": "tools/build.py",
"arguments": ["--arch=ia32,x64",
"--mode=release", "create_sdk"]
},
{
"name": "build gen_kernel.dart.snapshot and dart2aot",
"script": "tools/build.py",
"arguments": ["--arch=x64", "--mode=release",
"copy_gen_kernel_snapshot", "copy_dart2aot"]
},
{
"name": "build gen_snapshot and dartaotruntime",
"script": "tools/build.py",
"arguments": ["--arch=x64", "--mode=product",
"copy_gen_snapshot", "copy_dartaotruntime"]
},
{
"name": "upload sdk",
"script": "tools/bots/dart_sdk.py"
},
{
"name": "run smoke tests",
"script": "xcodebuild/ReleaseX64/dart",
"arguments": [
"tools/bots/aot_smoke_tests.dart"
]
}
]
},
{
"builders": ["dart-sdk-win"],
"meta": {
"description": "This configuration is used by the sdk-builders for Windows."
},
"steps": [
{
"name": "build dart",
"script": "tools/build.py",
"arguments": ["--arch=ia32,x64",
"--mode=release", "create_sdk"]
},
{
"name": "build gen_kernel.dart.snapshot and dart2aot",
"script": "tools/build.py",
"arguments": ["--arch=x64", "--mode=release",
"copy_gen_kernel_snapshot", "copy_dart2aot"]
},
{
"name": "build gen_snapshot and dartaotruntime",
"script": "tools/build.py",
"arguments": ["--arch=x64", "--mode=product",
"copy_gen_snapshot", "copy_dartaotruntime"]
},
{
"name": "upload sdk",
"script": "tools/bots/dart_sdk.py"
},
{
"name": "run smoke tests",
"script": "out/ReleaseX64/dart.exe",
"arguments": [
"tools/bots/aot_smoke_tests.dart"
]
}
]
},
{
"builders": ["debianpackage-linux"],
"meta": {
"description": "This configuration is used by the debianpackage-builder."
},
"steps": [
{
"name": "build debian package",
"script": "tools/run_debian_build.sh",
"arguments": []
},
{
"name": "upload debian packages",
"script": "tools/bots/upload_debian_packages.py",
"arguments": []
}
]
},
{
"builders": ["versionchecker-linux"],
"meta": {
"description": "This configuration is used by the versionchecker-builder."
},
"steps": [
{
"name": "check version",
"script": "tools/bots/version_checker.py",
"arguments": []
}
]
},
{
"builders": [
"analyzer-linux-release",
"analyzer-mac-release",
"analyzer-win-release",
"analyzer-linux-release-analyzer-stable",
"analyzer-mac-release-analyzer-stable",
"analyzer-win-release-analyzer-stable"
],
"meta": {
"description": "This configuration is used by the analyzer builders."
},
"steps": [
{
"name": "build dart",
"script": "tools/build.py",
"arguments": ["create_sdk"]
},
{
"name": "analyzer unit tests",
"arguments": [
"-nunittest-asserts-${mode}-${system}",
"pkg/analyzer"
],
"shards": 2,
"fileset": "analyzer_unit_tests"
},
{
"name": "analysis_server unit tests",
"arguments": [
"-nunittest-asserts-${mode}-${system}",
"pkg/analysis_server"
],
"shards": 2,
"fileset": "analyzer_unit_tests"
},
{
"name": "analyze tests enable-asserts",
"arguments": [
"-nanalyzer-asserts-${system}"]
},
{
"name": "analyze pkg tests enable-asserts",
"arguments": [
"-nanalyzer-asserts-${system}",
"pkg"
]
},
{
"name": "analyzer_cli unit tests",
"arguments": [
"-nunittest-asserts-${mode}-${system}",
"pkg/analyzer_cli"
]
},
{
"name": "analyzer_plugin unit tests",
"arguments": [
"-nunittest-asserts-${mode}-${system}",
"pkg/analyzer_plugin"
]
},
{
"name": "analyze tests co19_2",
"arguments": [
"-nanalyzer-asserts-${system}",
"co19_2"
]
}
]
},
{
"builders": [
"analyzer-analysis-server-linux",
"analyzer-analysis-server-linux-analyzer-stable"
],
"meta": {
"description": "Analyze analyzer related packages."
},
"steps": [
{
"name": "build dart",
"script": "tools/build.py",
"arguments": ["create_sdk"]
},
{
"name": "analyze pkg/analysis_server",
"script": "out/ReleaseX64/dart-sdk/bin/dartanalyzer",
"arguments": ["--fatal-warnings", "pkg/analysis_server"]
},
{
"name": "analyze pkg/analysis_server_client",
"script": "out/ReleaseX64/dart-sdk/bin/dartanalyzer",
"arguments": ["--fatal-warnings", "pkg/analysis_server_client"]
},
{
"name": "analyze pkg/analyzer",
"script": "out/ReleaseX64/dart-sdk/bin/dartanalyzer",
"arguments": ["--fatal-warnings", "pkg/analyzer"]
},
{
"name": "analyze pkg/analyzer_cli",
"script": "out/ReleaseX64/dart-sdk/bin/dartanalyzer",
"arguments": ["--fatal-warnings", "pkg/analyzer_cli"]
},
{
"name": "analyze pkg/analyzer_plugin",
"script": "out/ReleaseX64/dart-sdk/bin/dartanalyzer",
"arguments": ["--fatal-warnings", "pkg/analyzer_plugin"]
},
{
"name": "analyze pkg/async_helper",
"script": "out/ReleaseX64/dart-sdk/bin/dartanalyzer",
"arguments": ["--fatal-warnings", "pkg/async_helper"]
},
{
"name": "analyze pkg/build_integration",
"script": "out/ReleaseX64/dart-sdk/bin/dartanalyzer",
"arguments": ["--fatal-warnings", "pkg/build_integration"]
},
{
"name": "analyze pkg/compiler",
"script": "out/ReleaseX64/dart-sdk/bin/dartanalyzer",
"arguments": ["--fatal-warnings", "pkg/compiler"]
},
{
"name": "analyze pkg/dart2js_tools",
"script": "out/ReleaseX64/dart-sdk/bin/dartanalyzer",
"arguments": ["--fatal-warnings", "pkg/dart2js_tools"]
},
{
"name": "analyze pkg/dart_internal",
"script": "out/ReleaseX64/dart-sdk/bin/dartanalyzer",
"arguments": ["--fatal-warnings", "pkg/dart_internal"]
},
{
"name": "analyze pkg/dev_compiler",
"script": "out/ReleaseX64/dart-sdk/bin/dartanalyzer",
"arguments": ["--fatal-warnings", "--fatal-lints", "pkg/dev_compiler"]
},
{
"name": "analyze pkg/expect",
"script": "out/ReleaseX64/dart-sdk/bin/dartanalyzer",
"arguments": ["--fatal-warnings", "pkg/expect"]
},
{
"name": "analyze pkg/front_end",
"script": "out/ReleaseX64/dart-sdk/bin/dartanalyzer",
"arguments": ["--fatal-warnings", "pkg/front_end"]
},
{
"name": "analyze pkg/js",
"script": "out/ReleaseX64/dart-sdk/bin/dartanalyzer",
"arguments": ["--fatal-warnings", "pkg/js"]
},
{
"name": "analyze pkg/js_ast",
"script": "out/ReleaseX64/dart-sdk/bin/dartanalyzer",
"arguments": ["--fatal-warnings", "pkg/js_ast"]
},
{
"name": "analyze pkg/kernel",
"script": "out/ReleaseX64/dart-sdk/bin/dartanalyzer",
"arguments": ["--fatal-warnings", "pkg/kernel"]
},
{
"name": "analyze pkg/meta",
"script": "out/ReleaseX64/dart-sdk/bin/dartanalyzer",
"arguments": ["--fatal-warnings", "pkg/meta"]
},
{
"name": "analyze pkg/smith",
"script": "out/ReleaseX64/dart-sdk/bin/dartanalyzer",
"arguments": ["--fatal-warnings", "pkg/smith"]
},
{
"name": "analyze pkg/sourcemap_testing",
"script": "out/ReleaseX64/dart-sdk/bin/dartanalyzer",
"arguments": ["--fatal-warnings", "pkg/sourcemap_testing"]
},
{
"name": "analyze pkg/status_file",
"script": "out/ReleaseX64/dart-sdk/bin/dartanalyzer",
"arguments": ["--fatal-warnings", "pkg/status_file"]
},
{
"name": "analyze pkg/telemetry",
"script": "out/ReleaseX64/dart-sdk/bin/dartanalyzer",
"arguments": ["--fatal-warnings", "pkg/telemetry"]
},
{
"name": "analyze pkg/testing",
"script": "out/ReleaseX64/dart-sdk/bin/dartanalyzer",
"arguments": ["--fatal-warnings", "pkg/testing"]
},
{
"name": "analyze pkg/vm",
"script": "out/ReleaseX64/dart-sdk/bin/dartanalyzer",
"arguments": ["--fatal-warnings", "pkg/vm"]
},
{
"name": "analyze runtime/observatory",
"script": "out/ReleaseX64/dart-sdk/bin/dartanalyzer",
"arguments": [
"--fatal-warnings",
"--packages=runtime/observatory/.packages",
"runtime/observatory"
]
},
{
"name": "analyze tools/gardening",
"script": "out/ReleaseX64/dart-sdk/bin/dartanalyzer",
"arguments": ["--fatal-warnings", "tools/gardening"]
},
{
"name": "analyze tools/testing/dart",
"script": "out/ReleaseX64/dart-sdk/bin/dartanalyzer",
"arguments": ["--fatal-warnings", "tools/testing/dart"]
},
{
"name": "dartanalyzer --batch tests",
"arguments": [
"-nanalyzer-${system}"]
},
{
"name": "dartanalyzer --batch pkg tests",
"arguments": [
"-nanalyzer-${system}",
"pkg"
]
}
]
},
{
"builders": ["pkg-linux-release",
"pkg-win-release",
"pkg-mac-release"],
"meta": {
"description": "This configuration is used by the release pkg builders."
},
"steps": [
{
"name": "build dart",
"script": "tools/build.py",
"arguments": ["create_sdk"]
},
{
"name": "package unit tests",
"arguments": [
"-nunittest-asserts-${mode}-${system}",
"pkg/pkg/(?!(analyzer*|analysis_server|front_end|kernel)/)"
]
},
{
"name": "third_party pkg_tested unit tests",
"arguments": [
"-nunittest-asserts-${mode}-${system}",
"pkg_tested"
]
},
{
"name": "pub integration tests",
"script": "tools/bots/pub_integration_test.py",
"arguments": [
"--mode=release"
]
}
]
},
{
"builders": ["pkg-linux-debug"],
"meta": {
"description": "This configuration is used by the debug pkg builders."
},
"steps": [
{
"name": "build dart",
"script": "tools/build.py",
"arguments": ["create_sdk"]
},
{
"name": "package unit tests",
"arguments": [
"-nunittest-asserts-${mode}-${system}",
"pkg/pkg/(?!(analyzer*|analysis_server|front_end|kernel)/)"
]
},
{
"name": "third_party pkg_tested unit tests",
"arguments": [
"-nunittest-asserts-${mode}-${system}",
"pkg_tested"
]
},
{
"name": "pub integration tests",
"script": "tools/bots/pub_integration_test.py",
"arguments": [
"--mode=debug"
]
}
]
},
{
"builders": ["benchmark-linux"],
"meta": {
"description": "Verify benchmarks build and run correctly.",
"owner": "sortie@google.com"
},
"steps": [
{
"name": "see this step for details on what this bot does",
"script": "tools/bots/try_benchmarks.sh",
"arguments": ["noop"]
},
{
"name": "remove out directory to do a clean linux-ia32 build",
"script": "tools/bots/try_benchmarks.sh",
"arguments": ["clean"]
},
{
"name": "build linux-ia32 for benchmarking",
"script": "tools/build.py",
"arguments": [
"--mode=release",
"--arch=ia32",
"create_sdk",
"runtime"]
},
{
"name": "archive linux-ia32 for benchmarking",
"script": "tools/bots/try_benchmarks.sh",
"arguments": ["linux-ia32-archive"]
},
{
"name": "try linux-ia32 benchmarking",
"script": "tools/bots/try_benchmarks.sh",
"arguments": ["linux-ia32-benchmark"]
},
{
"name": "remove out directory to do a clean linux-x64 build",
"script": "tools/bots/try_benchmarks.sh",
"arguments": ["clean"]
},
{
"name": "build linux-x64 for benchmarking",
"script": "tools/build.py",
"arguments": [
"--mode=release",
"--arch=x64",
"create_sdk",
"runtime",
"gen_snapshot",
"dart_precompiled_runtime"]
},
{
"name": "build linux-x64 simdbc for benchmarking",
"script": "tools/build.py",
"arguments": ["--mode=release", "--arch=simdbc64", "runtime"]
},
{
"name": "archive linux-x64 for benchmarking",
"script": "tools/bots/try_benchmarks.sh",
"arguments": ["linux-x64-archive"]
},
{
"name": "try linux-x64 benchmarking",
"script": "tools/bots/try_benchmarks.sh",
"arguments": ["linux-x64-benchmark"]
},
{
"name": "remove out directory to do a clean linux-x64-bytecode build",
"script": "tools/bots/try_benchmarks.sh",
"arguments": ["clean"]
},
{
"name": "generate ninja for linux-x64-bytecode",
"script": "tools/gn.py",
"arguments": [
"--mode=release",
"--arch=x64",
"--bytecode"]
},
{
"name": "build linux-x64-bytecode for benchmarking",
"script": "tools/build.py",
"arguments": [
"--mode=release",
"--arch=x64",
"create_sdk",
"runtime",
"gen_snapshot",
"dart_precompiled_runtime"]
},
{
"name": "archive linux-x64-bytecode for benchmarking",
"script": "tools/bots/try_benchmarks.sh",
"arguments": ["linux-x64-bytecode-archive"]
},
{
"name": "try linux-x64-bytecode benchmarking",
"script": "tools/bots/try_benchmarks.sh",
"arguments": ["linux-x64-bytecode-benchmark"]
}
]
},
{
"builders": [
"flutter-analyze",
"flutter-analyze-analyzer-stable"
],
"meta": {
"description": "This configuration is used for analyzing flutter."
},
"steps": [
{
"name": "build dart",
"script": "tools/build.py",
"arguments": [
"--mode=release",
"--arch=x64",
"create_sdk"
]
},
{
"name": "analyze flutter",
"script": "tools/bots/flutter/analyze_flutter.sh"
}
]
},
{
"builders": [
"flutter-frontend"
],
"meta": {
"description": "This configuration is used for running frontend tests on flutter code."
},
"steps": [
{
"name": "build dart",
"script": "tools/build.py",
"arguments": [
"--mode=release",
"--arch=x64",
"create_sdk"
]
},
{
"name": "compile flutter tests",
"script": "tools/bots/flutter/compile_flutter.sh"
}
]
},
{
"builders": ["fuzz-linux"],
"meta": {
"description": "This configuration is used for fuzz testing."
},
"steps": [
{
"name": "build dart (aot and jit)",
"script": "tools/build.py",
"arguments": [
"--mode=debug,release",
"--arch=x64,simarm64",
"runtime",
"dart_precompiled_runtime"
]
},
{
"name": "build dart (jit)",
"script": "tools/build.py",
"arguments": [
"--mode=debug,release",
"--arch=ia32,simarm,simdbc,simdbc64",
"runtime"
]
},
{
"name": "make a fuzz",
"script": "out/ReleaseX64/dart",
"arguments": [
"runtime/tools/dartfuzz/dartfuzz_test.dart",
"--isolates",
"8",
"--no-show-stats",
"--time",
"2700"
],
"shards": 100,
"fileset": "fuzzer"
}
]
},
{
"builders": [
"vm-dartkb-linux-release-x64-abi"
],
"meta": {
"description": "This configuration runs tests for each supported ABI version."
},
"steps": [
{
"name": "configure dart",
"script": "tools/gn.py",
"arguments": [
"--mode=release",
"--arch=x64",
"--bytecode"
]
},
{
"name": "build dart",
"script": "tools/build.py",
"arguments": [
"--mode=release",
"--arch=x64",
"create_sdk"
]
},
{
"name": "run tests",
"script": "tools/run_abi_tests.py"
}
]
}
]
}