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

[web] filter test targets; cache host.dart compilation #12445

Merged
merged 2 commits into from
Sep 25, 2019

Conversation

yjbanov
Copy link
Contributor

@yjbanov yjbanov commented Sep 25, 2019

This brings retest of a single test from minutes to seconds.

This is based on the new build_runner feature dart-lang/build#2415 by @jakemac53 (Thank you @jakemac53 !!!)

await _runAllTests();
} else {
await _buildTests(targets: targets);
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's call them _buildAllTests and _buildTargetTests to keep the naming consistent?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Actually, I'm being silly. _buildTests(targets: targets) works in both cases. The behavior of -t w.r.t. to empty list is the same as --build-filter.

Deduped.

@yjbanov yjbanov merged commit 3360d86 into flutter:master Sep 25, 2019
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Sep 25, 2019
engine-flutter-autoroll added a commit to flutter/flutter that referenced this pull request Sep 25, 2019
…er/engine#12445) (#41321)

git@github.com:flutter/engine.git/compare/efb7bf434f2c...3360d86

git log efb7bf4..3360d86 --no-merges --oneline
2019-09-25 yjbanov@google.com [web] filter test targets; cache host.dart compilation (flutter/engine#12445)


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 aaclarke@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
Inconnu08 pushed a commit to Inconnu08/flutter that referenced this pull request Sep 30, 2019
…er/engine#12445) (flutter#41321)

git@github.com:flutter/engine.git/compare/efb7bf434f2c...3360d86

git log efb7bf4..3360d86 --no-merges --oneline
2019-09-25 yjbanov@google.com [web] filter test targets; cache host.dart compilation (flutter/engine#12445)


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 aaclarke@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants