Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
3cbe0ff1
Unverified
Commit
3cbe0ff1
authored
Feb 17, 2021
by
Jenn Magder
Committed by
GitHub
Feb 17, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Output unexpected Podfile.lock contents on test failure (#76223)
parent
74b6ce9a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
module_test_ios.dart
dev/devicelab/bin/tasks/module_test_ios.dart
+2
-0
plugin_lint_mac.dart
dev/devicelab/bin/tasks/plugin_lint_mac.dart
+3
-0
No files found.
dev/devicelab/bin/tasks/module_test_ios.dart
View file @
3cbe0ff1
...
@@ -181,6 +181,7 @@ Future<void> main() async {
...
@@ -181,6 +181,7 @@ Future<void> main() async {
||
!
podfileLockOutput
.
contains
(
':path: ".symlinks/plugins/device_info/ios"'
)
||
!
podfileLockOutput
.
contains
(
':path: ".symlinks/plugins/device_info/ios"'
)
||
!
podfileLockOutput
.
contains
(
':path: ".symlinks/plugins/google_sign_in/ios"'
)
||
!
podfileLockOutput
.
contains
(
':path: ".symlinks/plugins/google_sign_in/ios"'
)
||
podfileLockOutput
.
contains
(
'android_alarm_manager'
))
{
||
podfileLockOutput
.
contains
(
'android_alarm_manager'
))
{
print
(
podfileLockOutput
);
return
TaskResult
.
failure
(
'Building ephemeral host app Podfile.lock does not contain expected pods'
);
return
TaskResult
.
failure
(
'Building ephemeral host app Podfile.lock does not contain expected pods'
);
}
}
...
@@ -229,6 +230,7 @@ Future<void> main() async {
...
@@ -229,6 +230,7 @@ Future<void> main() async {
||
!
hostPodfileLockOutput
.
contains
(
':path: "../hello/.ios/.symlinks/plugins/device_info/ios"'
)
||
!
hostPodfileLockOutput
.
contains
(
':path: "../hello/.ios/.symlinks/plugins/device_info/ios"'
)
||
!
hostPodfileLockOutput
.
contains
(
':path: "../hello/.ios/.symlinks/plugins/google_sign_in/ios"'
)
||
!
hostPodfileLockOutput
.
contains
(
':path: "../hello/.ios/.symlinks/plugins/google_sign_in/ios"'
)
||
hostPodfileLockOutput
.
contains
(
'android_alarm_manager'
))
{
||
hostPodfileLockOutput
.
contains
(
'android_alarm_manager'
))
{
print
(
hostPodfileLockOutput
);
throw
TaskResult
.
failure
(
'Building host app Podfile.lock does not contain expected pods'
);
throw
TaskResult
.
failure
(
'Building host app Podfile.lock does not contain expected pods'
);
}
}
...
...
dev/devicelab/bin/tasks/plugin_lint_mac.dart
View file @
3cbe0ff1
...
@@ -368,6 +368,7 @@ Future<void> main() async {
...
@@ -368,6 +368,7 @@ Future<void> main() async {
// test_plugin_objc no longer supports iOS, shouldn't be present.
// test_plugin_objc no longer supports iOS, shouldn't be present.
||
podfileLockOutput
.
contains
(
':path: ".symlinks/plugins/test_plugin_objc/ios"'
)
||
podfileLockOutput
.
contains
(
':path: ".symlinks/plugins/test_plugin_objc/ios"'
)
||
!
podfileLockOutput
.
contains
(
':path: ".symlinks/plugins/test_plugin_swift/ios"'
))
{
||
!
podfileLockOutput
.
contains
(
':path: ".symlinks/plugins/test_plugin_swift/ios"'
))
{
print
(
podfileLockOutput
);
return
TaskResult
.
failure
(
'Podfile.lock does not contain expected pods'
);
return
TaskResult
.
failure
(
'Podfile.lock does not contain expected pods'
);
}
}
...
@@ -415,6 +416,7 @@ void _validateIosPodfile(String appPath) {
...
@@ -415,6 +416,7 @@ void _validateIosPodfile(String appPath) {
||
!
podfileLockOutput
.
contains
(
':path: ".symlinks/plugins/test_plugin_objc/ios"'
)
||
!
podfileLockOutput
.
contains
(
':path: ".symlinks/plugins/test_plugin_objc/ios"'
)
||
!
podfileLockOutput
.
contains
(
':path: ".symlinks/plugins/test_plugin_swift/ios"'
)
||
!
podfileLockOutput
.
contains
(
':path: ".symlinks/plugins/test_plugin_swift/ios"'
)
||
podfileLockOutput
.
contains
(
'url_launcher_macos'
))
{
||
podfileLockOutput
.
contains
(
'url_launcher_macos'
))
{
print
(
podfileLockOutput
);
throw
TaskResult
.
failure
(
'iOS Podfile.lock does not contain expected pods'
);
throw
TaskResult
.
failure
(
'iOS Podfile.lock does not contain expected pods'
);
}
}
...
@@ -472,6 +474,7 @@ void _validateMacOSPodfile(String appPath) {
...
@@ -472,6 +474,7 @@ void _validateMacOSPodfile(String appPath) {
||
!
podfileLockOutput
.
contains
(
':path: Flutter/ephemeral/.symlinks/plugins/url_launcher_macos/macos'
)
||
!
podfileLockOutput
.
contains
(
':path: Flutter/ephemeral/.symlinks/plugins/url_launcher_macos/macos'
)
||
!
podfileLockOutput
.
contains
(
':path: Flutter/ephemeral/.symlinks/plugins/test_plugin_swift/macos'
)
||
!
podfileLockOutput
.
contains
(
':path: Flutter/ephemeral/.symlinks/plugins/test_plugin_swift/macos'
)
||
podfileLockOutput
.
contains
(
'url_launcher/'
))
{
||
podfileLockOutput
.
contains
(
'url_launcher/'
))
{
print
(
podfileLockOutput
);
throw
TaskResult
.
failure
(
'macOS Podfile.lock does not contain expected pods'
);
throw
TaskResult
.
failure
(
'macOS Podfile.lock does not contain expected pods'
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment