Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added shell_unittests and ui_unittests to the testing menu #55711

Merged
merged 1 commit into from
Oct 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
72 changes: 72 additions & 0 deletions engine.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,24 @@
]
}
},
{
"name": "shell_unittests_arm64",
"pattern": "../out/host_debug_unopt_arm64/shell_unittests",
"runTask": {
"before": [
"shell_unittests_arm64"
]
}
},
{
"name": "ui_unittests_arm64",
"pattern": "../out/host_debug_unopt_arm64/ui_unittests",
"runTask": {
"before": [
"ui_unittests_arm64"
]
}
},
{
"name": "impeller_golden_tests_arm64",
"pattern": "../out/host_debug_unopt_arm64/impeller_golden_tests",
Expand Down Expand Up @@ -291,6 +309,60 @@
"//flutter/display_list:display_list_unittests"
]
},
{
"type": "shell",
"command": "./flutter/bin/et",
"options": {
"cwd": "${workspaceFolder}/.."
},
"problemMatcher": [
"$gcc"
],
"presentation": {
"echo": true,
"reveal": "silent",
"focus": false,
"panel": "shared",
"clear": true
},
"group": {
"kind": "build"
},
"label": "shell_unittests_arm64",
"args": [
"build",
"-c",
"host_debug_unopt_arm64",
"//flutter/shell:shell_unittests"
]
},
{
"type": "shell",
"command": "./flutter/bin/et",
"options": {
"cwd": "${workspaceFolder}/.."
},
"problemMatcher": [
"$gcc"
],
"presentation": {
"echo": true,
"reveal": "silent",
"focus": false,
"panel": "shared",
"clear": true
},
"group": {
"kind": "build"
},
"label": "ui_unittests_arm64",
"args": [
"build",
"-c",
"host_debug_unopt_arm64",
"//flutter/lib/ui:ui_unittests"
]
},
{
"type": "shell",
"command": "./flutter/bin/et",
Expand Down
24 changes: 24 additions & 0 deletions tools/vscode_workspace/engine-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,16 @@ settings:
runTask:
before:
- display_list_unittests_arm64
- name: shell_unittests_arm64
pattern: ../out/host_debug_unopt_arm64/shell_unittests
runTask:
before:
- shell_unittests_arm64
- name: ui_unittests_arm64
pattern: ../out/host_debug_unopt_arm64/ui_unittests
runTask:
before:
- ui_unittests_arm64
- name: impeller_golden_tests_arm64
pattern: ../out/host_debug_unopt_arm64/impeller_golden_tests
runTask:
Expand Down Expand Up @@ -210,6 +220,20 @@ tasks:
- -c
- host_debug_unopt_arm64
- //flutter/display_list:display_list_unittests
- <<: *et-task
label: shell_unittests_arm64
args:
- build
- -c
- host_debug_unopt_arm64
- //flutter/shell:shell_unittests
- <<: *et-task
label: ui_unittests_arm64
args:
- build
- -c
- host_debug_unopt_arm64
- //flutter/lib/ui:ui_unittests
- <<: *et-task
label: impeller_golden_tests_arm64
args:
Expand Down