Skip pod lint tests (#3692)
diff --git a/script/tool/lib/src/lint_podspecs_command.dart b/script/tool/lib/src/lint_podspecs_command.dart
index 749d67e..13de644 100644
--- a/script/tool/lib/src/lint_podspecs_command.dart
+++ b/script/tool/lib/src/lint_podspecs_command.dart
@@ -123,6 +123,7 @@
'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'
];
diff --git a/script/tool/test/lint_podspecs_command_test.dart b/script/tool/test/lint_podspecs_command_test.dart
index e0411d5..1c59d2d 100644
--- a/script/tool/test/lint_podspecs_command_test.dart
+++ b/script/tool/test/lint_podspecs_command_test.dart
@@ -82,6 +82,7 @@
'lint',
p.join(plugin1Dir.path, 'ios', 'plugin1.podspec'),
'--configuration=Debug',
+ '--skip-tests',
'--use-libraries'
],
mockPackagesDir.path),
@@ -92,6 +93,7 @@
'lint',
p.join(plugin1Dir.path, 'ios', 'plugin1.podspec'),
'--configuration=Debug',
+ '--skip-tests',
],
mockPackagesDir.path),
]),
@@ -141,6 +143,7 @@
'lint',
p.join(plugin1Dir.path, 'plugin1.podspec'),
'--configuration=Debug',
+ '--skip-tests',
'--allow-warnings',
'--use-libraries'
],
@@ -152,6 +155,7 @@
'lint',
p.join(plugin1Dir.path, 'plugin1.podspec'),
'--configuration=Debug',
+ '--skip-tests',
'--allow-warnings',
],
mockPackagesDir.path),