[tool] Use new builder name syntax for tools/find_builders.dart

See mentions of migrating from legacy syntax from back when it was ongoing: https://g-issues.chromium.org/issues/40170614#comment36

Change-Id: If592c5bcf40b2e56f9b18fcf27f74d767f97375a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/356041
Reviewed-by: William Hesse <whesse@google.com>
Reviewed-by: Daco Harkes <dacoharkes@google.com>
Commit-Queue: Oleh Prypin <oprypin@google.com>
This commit is contained in:
Oleh Prypin
2024-03-06 15:49:54 +00:00
committed by Commit Queue
parent 86c41c9c77
commit fc5f82c244
+3 -3
View File
@@ -9,7 +9,7 @@
//
// ```
// $ tools/find_builders.dart ffi/regress_51504_test ffi/regress_51913_test
// Cq-Include-Trybots: luci.dart.try:vm-kernel-linux-debug-x64,...
// Cq-Include-Trybots: dart/try:vm-kernel-linux-debug-x64,...
// ```
import 'dart:convert';
@@ -34,7 +34,7 @@ Future<void> main(List<String> args) async {
final gerritTryList = builders.map((b) => '$b-try').join(',');
print('Cq-Include-Trybots: dart-internal/g3.dart-internal.try:g3-cbuild-try');
print('Cq-Include-Trybots: luci.dart.try:$gerritTryList');
print('Cq-Include-Trybots: dart/try:$gerritTryList');
}
Future<List<String>> _testGetConfigurations(String testName) async {
@@ -127,6 +127,6 @@ A script to find all try jobs for a set of tests.
Usage: tools/find_builders.dart [selector] [selector2] [...]
Sample output: Cq-Include-Trybots: luci.dart.try:vm-kernel-linux-debug-x64,...
Sample output: Cq-Include-Trybots: dart/try:vm-kernel-linux-debug-x64,...
''');
}