Remove dead tool_coverage code (#75185)

This commit is contained in:
Jenn Magder 2021-02-02 16:39:00 -08:00 committed by GitHub
parent 7a066564f7
commit cdaa1a76f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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'),