[M] Change in dart/sdk[main]: [test] Change the `record_use` tests to semantic equality

0 views
Skip to first unread message

Daco Harkes (Gerrit)

unread,
Dec 23, 2025, 5:39:01 AM (yesterday) Dec 23
to Srujan Gaddam, Commit Queue, Alexander Markov, dart2js-te...@google.com, rev...@dartlang.org
Attention needed from Srujan Gaddam

New activity on the change

Open in Gerrit

Related details

Attention is currently required from:
  • Srujan Gaddam
Submit Requirements:
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement satisfiedCommit-Message-Has-TEST
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: sdk
Gerrit-Branch: main
Gerrit-Change-Id: I462350909eb82f486d09b813f2bc516fe50ce0fb
Gerrit-Change-Number: 469580
Gerrit-PatchSet: 6
Gerrit-Owner: Daco Harkes <dacoh...@google.com>
Gerrit-Reviewer: Daco Harkes <dacoh...@google.com>
Gerrit-Reviewer: Srujan Gaddam <sru...@google.com>
Gerrit-CC: Alexander Markov <alexm...@google.com>
Gerrit-Attention: Srujan Gaddam <sru...@google.com>
Gerrit-Comment-Date: Tue, 23 Dec 2025 10:38:57 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
unsatisfied_requirement
satisfied_requirement
open
diffy

Srujan Gaddam (Gerrit)

unread,
Dec 23, 2025, 12:17:59 PM (yesterday) Dec 23
to Daco Harkes, Commit Queue, Alexander Markov, dart2js-te...@google.com, rev...@dartlang.org
Attention needed from Daco Harkes

Srujan Gaddam voted and added 1 comment

Votes added by Srujan Gaddam

Code-Review+1

1 comment

Patchset-level comments
File-level comment, Patchset 8 (Latest):
Srujan Gaddam . resolved

`pkg/compiler` LGTM

Open in Gerrit

Related details

Attention is currently required from:
  • Daco Harkes
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement satisfiedCommit-Message-Has-TEST
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: sdk
Gerrit-Branch: main
Gerrit-Change-Id: I462350909eb82f486d09b813f2bc516fe50ce0fb
Gerrit-Change-Number: 469580
Gerrit-PatchSet: 8
Gerrit-Owner: Daco Harkes <dacoh...@google.com>
Gerrit-Reviewer: Daco Harkes <dacoh...@google.com>
Gerrit-Reviewer: Srujan Gaddam <sru...@google.com>
Gerrit-CC: Alexander Markov <alexm...@google.com>
Gerrit-Attention: Daco Harkes <dacoh...@google.com>
Gerrit-Comment-Date: Tue, 23 Dec 2025 17:17:56 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Daco Harkes (Gerrit)

unread,
Dec 23, 2025, 12:22:25 PM (yesterday) Dec 23
to Srujan Gaddam, Commit Queue, Alexander Markov, dart2js-te...@google.com, rev...@dartlang.org

Daco Harkes voted and added 1 comment

Votes added by Daco Harkes

Commit-Queue+2

1 comment

Patchset-level comments
Daco Harkes . resolved

Thanks Srujan!

Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement satisfiedCommit-Message-Has-TEST
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: sdk
Gerrit-Branch: main
Gerrit-Change-Id: I462350909eb82f486d09b813f2bc516fe50ce0fb
Gerrit-Change-Number: 469580
Gerrit-PatchSet: 8
Gerrit-Owner: Daco Harkes <dacoh...@google.com>
Gerrit-Reviewer: Daco Harkes <dacoh...@google.com>
Gerrit-Reviewer: Srujan Gaddam <sru...@google.com>
Gerrit-CC: Alexander Markov <alexm...@google.com>
Gerrit-Comment-Date: Tue, 23 Dec 2025 17:22:20 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Commit Queue (Gerrit)

unread,
Dec 23, 2025, 12:22:40 PM (yesterday) Dec 23
to Daco Harkes, Srujan Gaddam, Alexander Markov, dart2js-te...@google.com, rev...@dartlang.org

Commit Queue submitted the change

Change information

Commit message:
[test] Change the `record_use` tests to semantic equality

Testing for semantic equality means that we don't have to update
the expectation files every time a backwards compatible change to the
json serialization rolls in.

This also i a step towards being able to share the expect files
between the VM and dart2js.
Bug: https://github.com/dart-lang/native/issues/2885

TEST=pkg/compiler/test/record_use/record_use_test.dart
TEST=pkg/dartdev/test/native_assets/compile_test.dart
TEST=pkg/vm/test/transformations/record_use_test.dart

For reference, to update the goldens:

```
$ tools/test.py -m release --vm-options -DupdateExpectations=true pkg/vm/test/transformations/record_use && \
tools/test.py -m release --vm-options -DupdateExpectations=true pkg/compiler/test/record_use/record_use
```
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-mac-release-try,pkg-win-release-arm64-try,pkg-win-release-try,dart2js-linux-chrome-try,dart2js-unit-linux-x64-release-try,dart2wasm-linux-jscm-chrome-try,dart2wasm-linux-optimized-jsc-try
Change-Id: I462350909eb82f486d09b813f2bc516fe50ce0fb
Reviewed-by: Srujan Gaddam <sru...@google.com>
Commit-Queue: Daco Harkes <dacoh...@google.com>
Files:
  • M pkg/compiler/test/record_use/record_use_test.dart
  • M pkg/dartdev/pubspec.yaml
  • M pkg/dartdev/test/native_assets/compile_test.dart
  • M pkg/vm/test/transformations/record_use_test.dart
Change size: M
Delta: 4 files changed, 70 insertions(+), 99 deletions(-)
Branch: refs/heads/main
Submit Requirements:
  • requirement satisfiedCode-Review: +1 by Srujan Gaddam
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: sdk
Gerrit-Branch: main
Gerrit-Change-Id: I462350909eb82f486d09b813f2bc516fe50ce0fb
Gerrit-Change-Number: 469580
Gerrit-PatchSet: 9
Gerrit-Owner: Daco Harkes <dacoh...@google.com>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages