Skip to content

[validation] Fix some portability test issues. #35810

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

Merged
merged 1 commit into from
Feb 8, 2021

Conversation

3405691582
Copy link
Member

Here we fix a few portability issues affecting running the validation tests on OpenBSD. The remaining failures will be dealt with separately.

  1. In the rth tool, ensure -z origin is specified to the linker when
    using $ORIGIN, as required on this platform.

  2. Explicitly set the rpath in the dsohandle-multi-module execution
    test, since the test uses built dynamic libraries during the test.

  3. Erase the environment variable instead of using env -u, the latter
    of which is not portable.

Here we fix a few portability issues affecting running the validation tests on OpenBSD. The remaining failures will be dealt with separately.

1. In the `rth` tool, ensure `-z origin` is specified to the linker when
   using `$ORIGIN`, as required on this platform.

2. Explicitly set the rpath in the `dsohandle-multi-module` execution
   test, since the test uses built dynamic libraries during the test.

3. Erase the environment variable instead of using `env -u`, the latter
   of which is not portable.
@CodaFi
Copy link
Contributor

CodaFi commented Feb 8, 2021

@swift-ci smoke test and merge

@swift-ci swift-ci merged commit 2d2a810 into swiftlang:main Feb 8, 2021
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