Update the presubmit script to stop running a removed test

The test was removed in https://dart-review.googlesource.com/c/sdk/+/503620.

Change-Id: I271fbff176816c526d8221e0e8cbd3f52dcfbef8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/503666
Reviewed-by: Paul Berry <paulberry@google.com>
Auto-Submit: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Ryan Macnak <rmacnak@google.com>
Reviewed-by: Ryan Macnak <rmacnak@google.com>
This commit is contained in:
Brian Wilkerson
2026-05-18 07:13:11 -07:00
committed by dart-scoped@luci-project-accounts.iam.gserviceaccount.com
parent e30cd0322c
commit 069849df14
-17
View File
@@ -399,23 +399,6 @@ def _CheckAnalyzerFiles(input_api, output_api):
long_text=stdout) long_text=stdout)
] ]
# Verify the linter's `example/all.yaml` file.
if any(f.LocalPath().startswith('pkg/linter/lib/src/rules')
for f in input_api.AffectedFiles()):
args = [
"tools/sdks/dart-sdk/bin/dart",
"pkg/linter/tool/checks/check_all_yaml.dart",
]
stdout = input_api.subprocess.check_output(args).strip()
if not stdout:
return []
return [
output_api.PresubmitError(
"The check_all_yaml linter tool revealed issues:",
long_text=stdout)
]
# TODO(srawlins): Check more: # TODO(srawlins): Check more:
# * "verify_sorted" for individual modified (not deleted) files in # * "verify_sorted" for individual modified (not deleted) files in
# Analyzer-team-owned directories. # Analyzer-team-owned directories.