-
Notifications
You must be signed in to change notification settings - Fork 6k
Adds vscode workspace with impeller test runner #55291
Conversation
It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption, contact "@test-exemption-reviewer" in the #hackers channel in Discord (don't just cc them here, they won't see it!). If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix? Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. The test exemption team is a small volunteer group, so all reviewers should feel empowered to ask for tests, without delegating that responsibility entirely to the test exemption group. |
This comment was marked as outdated.
This comment was marked as outdated.
], | ||
"settings": { | ||
"files.associations": { | ||
"optional": "cpp", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't these be *.<extension>
- or are these just loose files lying about the tree. These look like identifiers rather than files.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are the c++ standard library. Like #include <atomic>
. Since there is no extension I think it may have issues figuring out what language it is. I've had this set forever so I decided to share it.
Hmm I've looked at this a couple of different ways. It really seems the license checker is failing to pick up the excluded file. |
This is not going to scale well once we start adding more entries for all our test runners. For that I've written a tool that can deduplicate json files while keeping //engine.code-workspace the source of truth: #55309 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM; i'm assuming Matan is OK with the extensions moving to the workspace.
I think I've come up with a better way of reducing redundancy with the workspace. Yaml already has the ability to deduplicate this stuff and can be compiled down to json and json can be compiled back to yaml if we ever accidentally edit the workspace. |
…155524) flutter/engine@0155f8f...c11e75b 2024-09-23 skia-flutter-autoroll@skia.org Roll Skia from 8c44a27b32a8 to ec0ed4afabf4 (1 revision) (flutter/engine#55351) 2024-09-22 skia-flutter-autoroll@skia.org Roll Skia from 1d03ec881675 to 8c44a27b32a8 (1 revision) (flutter/engine#55342) 2024-09-22 skia-flutter-autoroll@skia.org Roll Skia from c01f89da7c38 to 1d03ec881675 (1 revision) (flutter/engine#55336) 2024-09-21 skia-flutter-autoroll@skia.org Roll Skia from 1be7027570a0 to c01f89da7c38 (1 revision) (flutter/engine#55328) 2024-09-21 skia-flutter-autoroll@skia.org Roll Skia from ca5731228de9 to 1be7027570a0 (1 revision) (flutter/engine#55327) 2024-09-21 skia-flutter-autoroll@skia.org Roll Skia from bdbbdee1db8c to ca5731228de9 (1 revision) (flutter/engine#55326) 2024-09-20 30870216+gaaclarke@users.noreply.github.com Adds vscode workspace with impeller test runner (flutter/engine#55291) 2024-09-20 skia-flutter-autoroll@skia.org Roll Skia from 16f53694ec96 to bdbbdee1db8c (1 revision) (flutter/engine#55321) 2024-09-20 skia-flutter-autoroll@skia.org Roll Dart SDK from 21402561f6d3 to 419aef963b5a (1 revision) (flutter/engine#55320) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Please CC chinmaygarde@google.com,rmistry@google.com,zra@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
In #55291 we added a vscode workspace to help with running tests and sharing settings. However, VSCode does not support a config format that has the ability to reduce redundancy and it will get quite unwieldy as we add in all of the engines test runners. To combat that I've added instead a YAML config that can converted to JSON for VSCode. This also adds 2 more test runners: display_list_unittests and impeller_golden_tests [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
…lutter#155524) flutter/engine@0155f8f...c11e75b 2024-09-23 skia-flutter-autoroll@skia.org Roll Skia from 8c44a27b32a8 to ec0ed4afabf4 (1 revision) (flutter/engine#55351) 2024-09-22 skia-flutter-autoroll@skia.org Roll Skia from 1d03ec881675 to 8c44a27b32a8 (1 revision) (flutter/engine#55342) 2024-09-22 skia-flutter-autoroll@skia.org Roll Skia from c01f89da7c38 to 1d03ec881675 (1 revision) (flutter/engine#55336) 2024-09-21 skia-flutter-autoroll@skia.org Roll Skia from 1be7027570a0 to c01f89da7c38 (1 revision) (flutter/engine#55328) 2024-09-21 skia-flutter-autoroll@skia.org Roll Skia from ca5731228de9 to 1be7027570a0 (1 revision) (flutter/engine#55327) 2024-09-21 skia-flutter-autoroll@skia.org Roll Skia from bdbbdee1db8c to ca5731228de9 (1 revision) (flutter/engine#55326) 2024-09-20 30870216+gaaclarke@users.noreply.github.com Adds vscode workspace with impeller test runner (flutter/engine#55291) 2024-09-20 skia-flutter-autoroll@skia.org Roll Skia from 16f53694ec96 to bdbbdee1db8c (1 revision) (flutter/engine#55321) 2024-09-20 skia-flutter-autoroll@skia.org Roll Dart SDK from 21402561f6d3 to 419aef963b5a (1 revision) (flutter/engine#55320) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Please CC chinmaygarde@google.com,rmistry@google.com,zra@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
…lutter#155524) flutter/engine@0155f8f...c11e75b 2024-09-23 skia-flutter-autoroll@skia.org Roll Skia from 8c44a27b32a8 to ec0ed4afabf4 (1 revision) (flutter/engine#55351) 2024-09-22 skia-flutter-autoroll@skia.org Roll Skia from 1d03ec881675 to 8c44a27b32a8 (1 revision) (flutter/engine#55342) 2024-09-22 skia-flutter-autoroll@skia.org Roll Skia from c01f89da7c38 to 1d03ec881675 (1 revision) (flutter/engine#55336) 2024-09-21 skia-flutter-autoroll@skia.org Roll Skia from 1be7027570a0 to c01f89da7c38 (1 revision) (flutter/engine#55328) 2024-09-21 skia-flutter-autoroll@skia.org Roll Skia from ca5731228de9 to 1be7027570a0 (1 revision) (flutter/engine#55327) 2024-09-21 skia-flutter-autoroll@skia.org Roll Skia from bdbbdee1db8c to ca5731228de9 (1 revision) (flutter/engine#55326) 2024-09-20 30870216+gaaclarke@users.noreply.github.com Adds vscode workspace with impeller test runner (flutter/engine#55291) 2024-09-20 skia-flutter-autoroll@skia.org Roll Skia from 16f53694ec96 to bdbbdee1db8c (1 revision) (flutter/engine#55321) 2024-09-20 skia-flutter-autoroll@skia.org Roll Dart SDK from 21402561f6d3 to 419aef963b5a (1 revision) (flutter/engine#55320) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Please CC chinmaygarde@google.com,rmistry@google.com,zra@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
…lutter#155524) flutter/engine@0155f8f...c11e75b 2024-09-23 skia-flutter-autoroll@skia.org Roll Skia from 8c44a27b32a8 to ec0ed4afabf4 (1 revision) (flutter/engine#55351) 2024-09-22 skia-flutter-autoroll@skia.org Roll Skia from 1d03ec881675 to 8c44a27b32a8 (1 revision) (flutter/engine#55342) 2024-09-22 skia-flutter-autoroll@skia.org Roll Skia from c01f89da7c38 to 1d03ec881675 (1 revision) (flutter/engine#55336) 2024-09-21 skia-flutter-autoroll@skia.org Roll Skia from 1be7027570a0 to c01f89da7c38 (1 revision) (flutter/engine#55328) 2024-09-21 skia-flutter-autoroll@skia.org Roll Skia from ca5731228de9 to 1be7027570a0 (1 revision) (flutter/engine#55327) 2024-09-21 skia-flutter-autoroll@skia.org Roll Skia from bdbbdee1db8c to ca5731228de9 (1 revision) (flutter/engine#55326) 2024-09-20 30870216+gaaclarke@users.noreply.github.com Adds vscode workspace with impeller test runner (flutter/engine#55291) 2024-09-20 skia-flutter-autoroll@skia.org Roll Skia from 16f53694ec96 to bdbbdee1db8c (1 revision) (flutter/engine#55321) 2024-09-20 skia-flutter-autoroll@skia.org Roll Dart SDK from 21402561f6d3 to 419aef963b5a (1 revision) (flutter/engine#55320) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Please CC chinmaygarde@google.com,rmistry@google.com,zra@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
…lutter#155524) flutter/engine@0155f8f...c11e75b 2024-09-23 skia-flutter-autoroll@skia.org Roll Skia from 8c44a27b32a8 to ec0ed4afabf4 (1 revision) (flutter/engine#55351) 2024-09-22 skia-flutter-autoroll@skia.org Roll Skia from 1d03ec881675 to 8c44a27b32a8 (1 revision) (flutter/engine#55342) 2024-09-22 skia-flutter-autoroll@skia.org Roll Skia from c01f89da7c38 to 1d03ec881675 (1 revision) (flutter/engine#55336) 2024-09-21 skia-flutter-autoroll@skia.org Roll Skia from 1be7027570a0 to c01f89da7c38 (1 revision) (flutter/engine#55328) 2024-09-21 skia-flutter-autoroll@skia.org Roll Skia from ca5731228de9 to 1be7027570a0 (1 revision) (flutter/engine#55327) 2024-09-21 skia-flutter-autoroll@skia.org Roll Skia from bdbbdee1db8c to ca5731228de9 (1 revision) (flutter/engine#55326) 2024-09-20 30870216+gaaclarke@users.noreply.github.com Adds vscode workspace with impeller test runner (flutter/engine#55291) 2024-09-20 skia-flutter-autoroll@skia.org Roll Skia from 16f53694ec96 to bdbbdee1db8c (1 revision) (flutter/engine#55321) 2024-09-20 skia-flutter-autoroll@skia.org Roll Dart SDK from 21402561f6d3 to 419aef963b5a (1 revision) (flutter/engine#55320) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Please CC chinmaygarde@google.com,rmistry@google.com,zra@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
This PR removes our checked in .vscode files and instead starts a vscode workspace for the engine. As a first step I've added build tasks for the arm64
impeller_unittests
. I also setup C++ TestMate so that we can easily navigate to tests and execute them. The tests will be rebuilt before each execution.The goal would be that eventually all of our c++ tests can be listed here. This is going to make external contribution much easier and make it so I don't have to keep editing the "launch.json" file to run specific tests.
Pre-launch Checklist
///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.