-
Notifications
You must be signed in to change notification settings - Fork 6k
Build the robolectric tests by default for debug armv7 #27345
Conversation
|
Ahhh this doesn't work. |
|
The test target was depending on the top level android target rather than |
| deps += [ ":flutter_shell_native" ] | ||
| } | ||
|
|
||
| if (flutter_runtime_mode == "debug" && current_cpu == "arm") { |
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.
does the current cpu matter?
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.
This target is relatively slow to build, and we only run these tests on android_debug_unopt (armv7).
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.
If you mean current v. target, this file refers to current elsewhere and it seems like current == target .. but current is not the "host" CPU
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.
I see. could we add a comment?
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.
Done
blasten
left a comment
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 % comment
|
This pull request is not suitable for automatic merging in its current state.
|
|
Blocked on flutter/flutter#86326 |
See discussion in #27332
This target used to get built by default in run_tests.py, but we avoid doing that now for CI
Once this lands, we can remove the separate build step(s) for it from CI.