Commit Graph

10 Commits

Author SHA1 Message Date
Devon Carew 1039490228 [deps] bring in dart-lang/i18n; update intl benchmark and sdk usage
Change-Id: Ic0b7558fb7caf3f8d8ac9a1f460345de45d563f9
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/410080
Auto-Submit: Devon Carew <devoncarew@google.com>
Reviewed-by: Moritz Sümmermann <mosum@google.com>
Commit-Queue: Devon Carew <devoncarew@google.com>
2025-02-18 08:03:22 -08:00
Devon Carew f5b5e3f578 Revert "[deps] remove dart-lang/intl from DEPS"
This reverts commit 5719deaa63.

Reason for revert: golem benchmarks use intl

Original change's description:
> [deps] remove dart-lang/intl from DEPS
>
> Change-Id: Id0ddbfecfd9097da0aca067775bf319a615f9b91
> Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/409543
> Commit-Queue: Devon Carew <devoncarew@google.com>
> Reviewed-by: Morgan :) <davidmorgan@google.com>

Change-Id: I5551364bd7ce8930c20708a3a52688033067bb3c
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/409761
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Reviewed-by: Stephen Adams <sra@google.com>
Auto-Submit: Devon Carew <devoncarew@google.com>
Commit-Queue: Stephen Adams <sra@google.com>
2025-02-13 11:01:18 -08:00
Devon Carew 5719deaa63 [deps] remove dart-lang/intl from DEPS
Change-Id: Id0ddbfecfd9097da0aca067775bf319a615f9b91
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/409543
Commit-Queue: Devon Carew <devoncarew@google.com>
Reviewed-by: Morgan :) <davidmorgan@google.com>
2025-02-13 08:32:31 -08:00
Daco Harkes 6270a46469 [deps] Roll package:native_assets_builder
Manual roll of https://github.com/dart-lang/native/pull/946.

Change-Id: I6d4fd28f4174307024526dd73ff29b63e570bfd7
Cq-Include-Trybots: luci.dart.try:pkg-linux-debug-try,pkg-linux-release-arm64-try,pkg-linux-release-try,pkg-mac-release-arm64-try,pkg-win-release-try,pkg-mac-release-try,pkg-win-release-arm64-try
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/357623
Reviewed-by: Moritz Sümmermann <mosum@google.com>
Commit-Queue: Daco Harkes <dacoharkes@google.com>
2024-03-14 18:06:13 +00:00
Robert Nystrom 2ee771a4f6 Remove the legacy "_2" tests. \o/
I also cleaned up a bunch of places that referred to them.

Change-Id: I45f68818c892f8620ea04257885ffa3763374bb5
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/335863
Auto-Submit: Bob Nystrom <rnystrom@google.com>
Commit-Queue: Bob Nystrom <rnystrom@google.com>
Reviewed-by: Alexander Thomas <athom@google.com>
2023-11-17 20:17:23 +00:00
Daco Harkes 489b2c37ff [tool] Improve bisection script
The commit ranges reported are inclusive the oldest commit. This is
signified by the `~` in the range `xxx~...xxx`.

This CL fixes the script to take this oldest commit into account. It
used to be ignored by the `git log` call omitting the `~`.
Bug: bisection on https://github.com/dart-lang/sdk/issues/54029

This CL also fixes the range prints to be GitHub paste-able. GitHub
doesn't auto syntax highlight `xxx~...xxx`. So instead look up the
parent commit of the oldest commit and use `xxx...xxx` to print the
commit range.

Finally, this CL enables swapping the hashes in the range in the
command-line arguments.

Change-Id: Ic5c685fee2941e7b50c221770962edebe55e62f2
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/335801
Reviewed-by: Martin Kustermann <kustermann@google.com>
Commit-Queue: Daco Harkes <dacoharkes@google.com>
2023-11-13 15:21:11 +00:00
Parker Lougheed cecb0cabd6 [bisect_dart] Enable further analysis for bisect_dart tool
I know this is just an unpublished tool, but enabling the expanded analysis at least makes the development experience consistent with other packages within `/pkg`.

Change-Id: Id4daf75cf37042662e3ab3c75dc4c4f856fd4099
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/329864
Auto-Submit: Parker Lougheed <parlough@gmail.com>
Commit-Queue: Daco Harkes <dacoharkes@google.com>
Reviewed-by: William Hesse <whesse@google.com>
Reviewed-by: Daco Harkes <dacoharkes@google.com>
2023-10-24 16:21:14 +00:00
Daco Harkes 83d058e1ac [tool] bisect.dart fix prints
GitHub expects the "first" and "last" hash of a commit range the
other way around.
This fixes links when the output is pasted into GitHub issues.

Change-Id: I1c22490b69bc6bec9c0d65307ee80a6b15e96a6c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/322661
Reviewed-by: Martin Kustermann <kustermann@google.com>
Commit-Queue: Daco Harkes <dacoharkes@google.com>
2023-08-25 09:14:40 +00:00
Daco Harkes 8d0a93fd17 [tool] Add features to tools/bisect.dart
`-Dtest_command` is now a multi-argument, commands will be run in
sequence when multiple are passed.

The test commands now need to include the executable. Previous
invocations now need to be passed python3 in front of tools/test.py.

Both stdout and stderr from test commands are now taken into account
for matching on the error string.

The above changes enable bisecting failures other than tests failing
through test.py invocations such as:
https://github.com/dart-lang/sdk/issues/53267#issuecomment-1686528611

Change-Id: I4c3cb800b69e34a15c375f45a417bb2c28d9df8e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/322020
Reviewed-by: Martin Kustermann <kustermann@google.com>
Commit-Queue: Daco Harkes <dacoharkes@google.com>
2023-08-22 09:52:18 +00:00
Daco Harkes a08e829ff2 [tool] Bisection tool
A basic bisection script.

Currently only supports substring matching for detecting the error.
This was enough for three use cases today:

* https://github.com/dart-lang/sdk/issues/52910
* https://github.com/dart-lang/sdk/issues/52911
* https://github.com/dart-lang/sdk/issues/52912

Produces a concise output on standard out, and a very detailed log
with all process invocation results in `.dart_tool/bisect_dart`.

Usage: tools/bisect.dart -Dstart=23f41452 -Dend=2c97bd78 -Dtest_command="tools/test.py --build -n dartk-linux-debug-x64 lib_2/isolate/package_resolve_test" -Dfailure_string="Error: The argument type 'String' can't be assigned to the parameter type 'Uri'." -Dsdk_path=/usr/local/google/home/dacoharkes/dart-sdk/sdk/ -Dname=20230712_package_resolve_test

This script starts a bisection in the provided SDK path.

It will write logs to .dart_tool/bisect_dart/.

start          : The commit has at the start of the commit range.
end            : The commit has at the end of the commit range.
test_command   : The invocation of test.py.
                 This should include `--build`.
                 This should be within quotes when passed in terminal because of spaces.
failure_string : A string from the failing output.
                 Regexes are not yet supported.
                 This should be within quotes when passed in terminal when containing spaces.
sdk_path       : The SDK path is optional.
                 The SDK path defaults to the current working directory.
name           : The name is optional.
                 The name defaults to the current date and the recognized test name.
                 The name is used for distinguishing logs.

Change-Id: Ib071a5305d4992cf189e35eb3dcc50c83101503e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/313384
Commit-Queue: Daco Harkes <dacoharkes@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
2023-07-13 13:22:26 +00:00