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,
|
'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 {
|
|||||||
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'),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user