From bdc7ac47a461e3c0be38451be027b3f42a2c6534 Mon Sep 17 00:00:00 2001 From: Jason Simmons Date: Wed, 23 Aug 2023 18:24:26 -0700 Subject: [PATCH] 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. --- .../clang_tidy/test/clang_tidy_test.dart | 20 ------------------- 1 file changed, 20 deletions(-) diff --git a/engine/src/flutter/tools/clang_tidy/test/clang_tidy_test.dart b/engine/src/flutter/tools/clang_tidy/test/clang_tidy_test.dart index 9b2d6d0e16..13b2e08188 100644 --- a/engine/src/flutter/tools/clang_tidy/test/clang_tidy_test.dart +++ b/engine/src/flutter/tools/clang_tidy/test/clang_tidy_test.dart @@ -128,26 +128,6 @@ Future main(List args) async { )); }); - test('Accepts --enable-check-profile', () async { - final StringBuffer outBuffer = StringBuffer(); - final StringBuffer errBuffer = StringBuffer(); - final ClangTidy clangTidy = ClangTidy.fromCommandLine( - [ - '--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( [