mirror of
https://github.com/flutter/flutter
synced 2024-10-03 15:04:18 +00:00
Remove dead tool_coverage code (#75185)
This commit is contained in:
parent
7a066564f7
commit
cdaa1a76f3
|
@ -104,7 +104,6 @@ Future<void> main(List<String> args) async {
|
|||
'build_tests': _runBuildTests,
|
||||
'framework_coverage': _runFrameworkCoverage,
|
||||
'framework_tests': _runFrameworkTests,
|
||||
'tool_coverage': _runToolCoverage,
|
||||
'tool_tests': _runToolTests,
|
||||
'tool_integration_tests': _runIntegrationToolTests,
|
||||
'web_tool_tests': _runWebToolTests,
|
||||
|
@ -274,30 +273,6 @@ Future<void> _runSmokeTests() async {
|
|||
exitWithError(<String>[versionError]);
|
||||
}
|
||||
|
||||
Future<void> _runToolCoverage() async {
|
||||
await _pubRunTest(
|
||||
toolRoot,
|
||||
testPaths: <String>[
|
||||
path.join('test', 'general.shard'),
|
||||
path.join('test', 'commands.shard', 'hermetic'),
|
||||
],
|
||||
coverage: 'coverage',
|
||||
);
|
||||
await runCommand(pub,
|
||||
<String>[
|
||||
'run',
|
||||
'coverage:format_coverage',
|
||||
'--lcov',
|
||||
'--in=coverage',
|
||||
'--out=coverage/lcov.info',
|
||||
'--packages=.packages',
|
||||
'--report-on=lib/'
|
||||
],
|
||||
workingDirectory: toolRoot,
|
||||
outputMode: OutputMode.capture,
|
||||
);
|
||||
}
|
||||
|
||||
Future<void> _runGeneralToolTests() async {
|
||||
await _pubRunTest(
|
||||
path.join(flutterRoot, 'packages', 'flutter_tools'),
|
||||
|
|
Loading…
Reference in a new issue