forked from firka/flutter
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:
@@ -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>[
|
||||
|
||||
Reference in New Issue
Block a user