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
d7f80fcd
Unverified
Commit
d7f80fcd
authored
Oct 16, 2020
by
Jonah Williams
Committed by
GitHub
Oct 16, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[flutter_tools] configure screenshot on failure for all tasks (#68260)
parent
acde65d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
utils.dart
dev/devicelab/lib/framework/utils.dart
+2
-1
No files found.
dev/devicelab/lib/framework/utils.dart
View file @
d7f80fcd
...
...
@@ -282,6 +282,7 @@ Future<Process> startProcess(
+
(
environment
!=
null
?
' with environment
$environment
'
:
''
));
environment
??=
<
String
,
String
>{};
environment
[
'BOT'
]
=
isBot
?
'true'
:
'false'
;
environment
[
'FLUTTER_IOS_SCREENSHOT_ON_CONNECTION_FAILURE'
]
=
'true'
;
final
Process
process
=
await
_processManager
.
start
(
<
String
>[
executable
,
...
arguments
],
environment:
environment
,
...
...
@@ -447,7 +448,7 @@ Future<int> flutter(String command, {
})
{
final
List
<
String
>
args
=
flutterCommandArgs
(
command
,
options
);
return
exec
(
path
.
join
(
flutterDirectory
.
path
,
'bin'
,
'flutter'
),
args
,
canFail:
canFail
,
environment:
<
String
,
String
>{...?
environment
,
'FLUTTER_IOS_SCREENSHOT_ON_CONNECTION_FAILURE'
:
'true'
}
);
canFail:
canFail
,
environment:
environment
);
}
/// Runs a `flutter` command and returns the standard output as a string.
...
...
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