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
e4014a55
Unverified
Commit
e4014a55
authored
Feb 05, 2020
by
Yegor
Committed by
GitHub
Feb 05, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Web benchmarks: make headless mode opt-out (#50166)
parent
ed73f94e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
web_benchmarks.dart
dev/devicelab/lib/tasks/web_benchmarks.dart
+7
-2
No files found.
dev/devicelab/lib/tasks/web_benchmarks.dart
View file @
e4014a55
...
...
@@ -99,8 +99,13 @@ Future<TaskResult> runWebBenchmark({ @required bool useCanvasKit }) async {
'--disable-translate'
,
];
final
bool
isUncalibratedSmokeTest
=
io
.
Platform
.
environment
[
'UNCALIBRATED_SMOKE_TEST'
]
==
'true'
;
// TODO(yjbanov): temporarily disables headful Chrome until we get
// devicelab hardware that is able to run it. Our current
// GCE VMs can only run in headless mode.
// See: https://github.com/flutter/flutter/issues/50164
final
bool
isUncalibratedSmokeTest
=
io
.
Platform
.
environment
[
'CALIBRATED'
]
!=
'true'
;
// final bool isUncalibratedSmokeTest =
// io.Platform.environment['UNCALIBRATED_SMOKE_TEST'] == 'true';
if
(
isUncalibratedSmokeTest
)
{
print
(
'Running in headless mode because running on uncalibrated hardware.'
);
args
.
add
(
'--headless'
);
...
...
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