Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
272b23ca
Unverified
Commit
272b23ca
authored
Dec 28, 2020
by
nturgut
Committed by
GitHub
Dec 28, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[web] make sure tests and benchmarks use correct backend - add autodetect false (#73047)
* add autodetect false * fix typo
parent
8f5d0371
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
test.dart
dev/bots/test.dart
+3
-0
web_benchmarks.dart
dev/devicelab/lib/tasks/web_benchmarks.dart
+2
-0
No files found.
dev/bots/test.dart
View file @
272b23ca
...
@@ -997,6 +997,8 @@ Future<void> _runGalleryE2eWebTest(String buildMode, { bool canvasKit = false })
...
@@ -997,6 +997,8 @@ Future<void> _runGalleryE2eWebTest(String buildMode, { bool canvasKit = false })
'--dart-define=FLUTTER_WEB_USE_SKIA=true'
,
'--dart-define=FLUTTER_WEB_USE_SKIA=true'
,
if
(!
canvasKit
)
if
(!
canvasKit
)
'--dart-define=FLUTTER_WEB_USE_SKIA=false'
,
'--dart-define=FLUTTER_WEB_USE_SKIA=false'
,
if
(!
canvasKit
)
'--dart-define=FLUTTER_WEB_AUTO_DETECT=false'
,
'--driver=test_driver/transitions_perf_e2e_test.dart'
,
'--driver=test_driver/transitions_perf_e2e_test.dart'
,
'--target=test_driver/transitions_perf_e2e.dart'
,
'--target=test_driver/transitions_perf_e2e.dart'
,
'--browser-name=chrome'
,
'--browser-name=chrome'
,
...
@@ -1151,6 +1153,7 @@ Future<void> _runWebDebugTest(String target, {
...
@@ -1151,6 +1153,7 @@ Future<void> _runWebDebugTest(String target, {
'chrome'
,
'chrome'
,
'--web-run-headless'
,
'--web-run-headless'
,
'--dart-define=FLUTTER_WEB_USE_SKIA=false'
,
'--dart-define=FLUTTER_WEB_USE_SKIA=false'
,
'--dart-define=FLUTTER_WEB_AUTO_DETECT=false'
,
...
additionalArguments
,
...
additionalArguments
,
'-t'
,
'-t'
,
target
,
target
,
...
...
dev/devicelab/lib/tasks/web_benchmarks.dart
View file @
272b23ca
...
@@ -31,6 +31,8 @@ Future<TaskResult> runWebBenchmark({ @required bool useCanvasKit }) async {
...
@@ -31,6 +31,8 @@ Future<TaskResult> runWebBenchmark({ @required bool useCanvasKit }) async {
'--dart-define=FLUTTER_WEB_ENABLE_PROFILING=true'
,
'--dart-define=FLUTTER_WEB_ENABLE_PROFILING=true'
,
if
(!
useCanvasKit
)
if
(!
useCanvasKit
)
'--dart-define=FLUTTER_WEB_USE_SKIA=false'
,
'--dart-define=FLUTTER_WEB_USE_SKIA=false'
,
if
(!
useCanvasKit
)
'--dart-define=FLUTTER_WEB_AUTO_DETECT=false'
,
if
(
useCanvasKit
)
if
(
useCanvasKit
)
'--dart-define=FLUTTER_WEB_USE_SKIA=true'
,
'--dart-define=FLUTTER_WEB_USE_SKIA=true'
,
'--profile'
,
'--profile'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment