Unverified Commit cdaa1a76 authored by Jenn Magder's avatar Jenn Magder Committed by GitHub

Remove dead tool_coverage code (#75185)

parent 7a066564
...@@ -104,7 +104,6 @@ Future<void> main(List<String> args) async { ...@@ -104,7 +104,6 @@ Future<void> main(List<String> args) async {
'build_tests': _runBuildTests, 'build_tests': _runBuildTests,
'framework_coverage': _runFrameworkCoverage, 'framework_coverage': _runFrameworkCoverage,
'framework_tests': _runFrameworkTests, 'framework_tests': _runFrameworkTests,
'tool_coverage': _runToolCoverage,
'tool_tests': _runToolTests, 'tool_tests': _runToolTests,
'tool_integration_tests': _runIntegrationToolTests, 'tool_integration_tests': _runIntegrationToolTests,
'web_tool_tests': _runWebToolTests, 'web_tool_tests': _runWebToolTests,
...@@ -274,30 +273,6 @@ Future<void> _runSmokeTests() async { ...@@ -274,30 +273,6 @@ Future<void> _runSmokeTests() async {
exitWithError(<String>[versionError]); 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 { Future<void> _runGeneralToolTests() async {
await _pubRunTest( await _pubRunTest(
path.join(flutterRoot, 'packages', 'flutter_tools'), path.join(flutterRoot, 'packages', 'flutter_tools'),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment