From 96c31fb1c8029b4c705ad47587c377e30d19435b Mon Sep 17 00:00:00 2001 From: Jenn Magder Date: Mon, 8 Mar 2021 17:04:26 -0800 Subject: [PATCH 1/2] Skip pod lint tests --- script/tool/lib/src/lint_podspecs_command.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/script/tool/lib/src/lint_podspecs_command.dart b/script/tool/lib/src/lint_podspecs_command.dart index 749d67ee5f16..13de64415e9e 100644 --- a/script/tool/lib/src/lint_podspecs_command.dart +++ b/script/tool/lib/src/lint_podspecs_command.dart @@ -123,6 +123,7 @@ class LintPodspecsCommand extends PluginCommand { 'lint', podspecPath, '--configuration=Debug', // Release targets unsupported arm64 simulators. Use Debug to only build against targeted x86_64 simulator devices. + '--skip-tests', if (allowWarnings) '--allow-warnings', if (libraryLint) '--use-libraries' ]; From 33c3bb34ec59c5d521f25be35a41be7858615967 Mon Sep 17 00:00:00 2001 From: Jenn Magder Date: Mon, 8 Mar 2021 17:20:44 -0800 Subject: [PATCH 2/2] tests --- script/tool/test/lint_podspecs_command_test.dart | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/script/tool/test/lint_podspecs_command_test.dart b/script/tool/test/lint_podspecs_command_test.dart index e0411d5cffd1..1c59d2d7e55a 100644 --- a/script/tool/test/lint_podspecs_command_test.dart +++ b/script/tool/test/lint_podspecs_command_test.dart @@ -82,6 +82,7 @@ void main() { 'lint', p.join(plugin1Dir.path, 'ios', 'plugin1.podspec'), '--configuration=Debug', + '--skip-tests', '--use-libraries' ], mockPackagesDir.path), @@ -92,6 +93,7 @@ void main() { 'lint', p.join(plugin1Dir.path, 'ios', 'plugin1.podspec'), '--configuration=Debug', + '--skip-tests', ], mockPackagesDir.path), ]), @@ -141,6 +143,7 @@ void main() { 'lint', p.join(plugin1Dir.path, 'plugin1.podspec'), '--configuration=Debug', + '--skip-tests', '--allow-warnings', '--use-libraries' ], @@ -152,6 +155,7 @@ void main() { 'lint', p.join(plugin1Dir.path, 'plugin1.podspec'), '--configuration=Debug', + '--skip-tests', '--allow-warnings', ], mockPackagesDir.path),