Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@gaaclarke
Copy link
Member

fixes flutter/flutter#143087

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the Flutter Style Guide and the C++, Objective-C, Java style guides.
  • I listed at least one issue that this PR fixes in the description above.
  • I added new tests to check the change I am making or feature I am adding, or the PR is test-exempt. See testing the engine for instructions on writing and running engine tests.
  • I updated/added relevant documentation (doc comments with ///).
  • I signed the CLA.
  • All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

$ ./run_tests.py --variant=host_debug_unopt_arm64 --type=engine`
```

### Directory
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems valuable. I'm not 100% sold this is the right place. Maybe into the wiki? I ran out of gas updating it. I want to make sure it's something we want.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is a better place than the wiki since it will be versioned with changes in the engine. But either way is fine TBH. The wiki has a lower barrier to editing.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Random thought for later: Maybe we could we just put these descriptions directly in run_tests.py and spit them out with a --list argument?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code could even be refactored to be data driven so we had the list in code.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You don't even need the list in code. Let GN tell you what the test executables are. For instance gn desc out/host_debug_unopt_arm64/ :default deps --all --type=executable --testonly=true --as=output will tell their names.

Add --format=json to make it machine readable.

We could also create GN templates to add more metadata about the test that gn desc can dump out. IIRC, that is how the new build rules work as well.


## Fuchsia Contributions from Googlers

Googlers contributing to Fuchsia should follow the additional steps at:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For go links you can markdown linkify it by prepending http:// in the link decoration. That way folks don't have to copy it into their address bar.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea. I'm going to avoid touching it here though since it isn't part of the diff.

@gaaclarke gaaclarke merged commit 9b37c68 into flutter:main Feb 8, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Feb 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update CONTRIBUTING.md to include section on testing

3 participants