Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI Visiblity testing #803

Merged
merged 2 commits into from
Apr 6, 2022

Conversation

nachoBonafonte
Copy link
Contributor

What and why?

Fix CI Visiblity testing.

How?

FRAMEWORK_SEARCH_PATHS and LD_RUNPATH_SEARCH_PATHS were not properly set
Expand test environment variables in tvOS targets

Review checklist

  • Feature or bugfix MUST have appropriate tests (unit, integration)
  • Make sure each commit and the PR mention the Issue number or JIRA reference
  • Add CHANGELOG entry for user facing change.

@nachoBonafonte nachoBonafonte requested a review from a team as a code owner April 5, 2022 15:37
Copy link
Member

@maxep maxep left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @nachoBonafonte 🙏

Makefile Outdated
Comment on lines 7 to 10
FRAMEWORK_SEARCH_PATHS[sdk=iphonesimulator*]=$(inherited) $(SRCROOT)/../instrumented-tests/DatadogSDKTesting.xcframework/ios-arm64_x86_64-simulator/\n
LD_RUNPATH_SEARCH_PATHS[sdk=iphonesimulator*]=$(inherited) $(SRCROOT)/../instrumented-tests/DatadogSDKTesting.xcframework/ios-arm64_x86_64-simulator/\n
FRAMEWORK_SEARCH_PATHS[sdk=appletvsimulator*]==$(inherited) $(SRCROOT)/../instrumented-tests/DatadogSDKTesting.xcframework/tvos-arm64_x86_64-simulator/\n
LD_RUNPATH_SEARCH_PATHS[sdk=appletvsimulator*]=$(inherited) $(SRCROOT)/../instrumented-tests/DatadogSDKTesting.xcframework/tvos-arm64_x86_64-simulator/\n
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like it cannot find the framework now, see https://app.bitrise.io/build/a4712031-ae45-4825-809a-15ab2b7bfb4f

ld: framework not found DatadogSDKTesting

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I think I missed the double $$ needed for the makefile

Copy link
Member

@ncreated ncreated left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot! Looks good - now we have similar number of tests reported by both platfors:

Screenshot 2022-04-05 at 19 53 35

@nachoBonafonte nachoBonafonte merged commit 97cee0d into develop Apr 6, 2022
@nachoBonafonte nachoBonafonte deleted the nachoBonafonte/Fix-linking-CI-VIsibility branch April 6, 2022 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants