Remove a clang-tidy test that launches a full run of clang-tidy (flutter/engine#45033)

This can take a lot of time or be overly dependent on configuration details of the local git repository.
This commit is contained in:
Jason Simmons
2023-08-23 18:24:26 -07:00
committed by GitHub
parent d3a13deb0a
commit bdc7ac47a4

View File

@@ -128,26 +128,6 @@ Future<int> main(List<String> args) async {
));
});
test('Accepts --enable-check-profile', () async {
final StringBuffer outBuffer = StringBuffer();
final StringBuffer errBuffer = StringBuffer();
final ClangTidy clangTidy = ClangTidy.fromCommandLine(
<String>[
'--compile-commands',
buildCommands,
'--enable-check-profile',
],
outSink: outBuffer,
errSink: errBuffer,
);
final int result = await clangTidy.run();
expect(result, equals(0));
expect(clangTidy.options.enableCheckProfile, isTrue);
print(outBuffer);
});
test('shard-id valid', () async {
_withTempFile('shard-id-valid', (String path) {
final Options options = Options.fromCommandLine( <String>[