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
f8a5c861
Unverified
Commit
f8a5c861
authored
Aug 15, 2018
by
Todd Volkert
Committed by
GitHub
Aug 15, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pass icu data file to fuchsia_tester (#20605)
parent
d8d44abe
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
fuchsia_tester.dart
packages/flutter_tools/bin/fuchsia_tester.dart
+5
-0
No files found.
packages/flutter_tools/bin/fuchsia_tester.dart
View file @
f8a5c861
...
@@ -27,6 +27,7 @@ const String _kOptionTestDirectory = 'test-directory';
...
@@ -27,6 +27,7 @@ const String _kOptionTestDirectory = 'test-directory';
const
String
_kOptionSdkRoot
=
'sdk-root'
;
const
String
_kOptionSdkRoot
=
'sdk-root'
;
const
String
_kOptionTestFile
=
'test-file'
;
const
String
_kOptionTestFile
=
'test-file'
;
const
String
_kOptionDillFile
=
'dill-file'
;
const
String
_kOptionDillFile
=
'dill-file'
;
const
String
_kOptionIcudtl
=
'icudtl'
;
const
List
<
String
>
_kRequiredOptions
=
<
String
>[
const
List
<
String
>
_kRequiredOptions
=
<
String
>[
_kOptionPackages
,
_kOptionPackages
,
_kOptionShell
,
_kOptionShell
,
...
@@ -34,6 +35,7 @@ const List<String> _kRequiredOptions = <String>[
...
@@ -34,6 +35,7 @@ const List<String> _kRequiredOptions = <String>[
_kOptionSdkRoot
,
_kOptionSdkRoot
,
_kOptionTestFile
,
_kOptionTestFile
,
_kOptionDillFile
,
_kOptionDillFile
,
_kOptionIcudtl
];
];
const
String
_kOptionCoverage
=
'coverage'
;
const
String
_kOptionCoverage
=
'coverage'
;
const
String
_kOptionCoveragePath
=
'coverage-path'
;
const
String
_kOptionCoveragePath
=
'coverage-path'
;
...
@@ -52,6 +54,7 @@ Future<Null> run(List<String> args) async {
...
@@ -52,6 +54,7 @@ Future<Null> run(List<String> args) async {
..
addOption
(
_kOptionSdkRoot
,
help:
'Path to the SDK platform files'
)
..
addOption
(
_kOptionSdkRoot
,
help:
'Path to the SDK platform files'
)
..
addOption
(
_kOptionTestFile
,
help:
'Test file to execute'
)
..
addOption
(
_kOptionTestFile
,
help:
'Test file to execute'
)
..
addOption
(
_kOptionDillFile
,
help:
'Precompiled dill file for test'
)
..
addOption
(
_kOptionDillFile
,
help:
'Precompiled dill file for test'
)
..
addOption
(
_kOptionIcudtl
,
help:
'Path to the ICU data file'
)
..
addFlag
(
_kOptionCoverage
,
..
addFlag
(
_kOptionCoverage
,
defaultsTo:
false
,
defaultsTo:
false
,
negatable:
false
,
negatable:
false
,
...
@@ -91,6 +94,8 @@ Future<Null> run(List<String> args) async {
...
@@ -91,6 +94,8 @@ Future<Null> run(List<String> args) async {
fs
.
link
(
artifacts
.
getArtifactPath
(
Artifact
.
flutterTester
));
fs
.
link
(
artifacts
.
getArtifactPath
(
Artifact
.
flutterTester
));
testerDestLink
.
parent
.
createSync
(
recursive:
true
);
testerDestLink
.
parent
.
createSync
(
recursive:
true
);
testerDestLink
.
createSync
(
shellPath
);
testerDestLink
.
createSync
(
shellPath
);
final
Link
icudtlLink
=
testerDestLink
.
parent
.
childLink
(
'icudtl.dat'
);
icudtlLink
.
createSync
(
argResults
[
_kOptionIcudtl
]);
final
Directory
sdkRootDest
=
final
Directory
sdkRootDest
=
fs
.
directory
(
artifacts
.
getArtifactPath
(
Artifact
.
flutterPatchedSdkPath
));
fs
.
directory
(
artifacts
.
getArtifactPath
(
Artifact
.
flutterPatchedSdkPath
));
sdkRootDest
.
createSync
(
recursive:
true
);
sdkRootDest
.
createSync
(
recursive:
true
);
...
...
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