Skip to content

Add support for running tests on OSX and Windows #56

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
Dec 10, 2018
Merged

Add support for running tests on OSX and Windows #56

merged 1 commit into from
Dec 10, 2018

Conversation

johnwalker
Copy link
Contributor

Modify the copy-dependencies plugin configuration to copy dlls, dylibs,
and .so's to the test-lib directory so that tests can be run on more platforms.
Switch the phase to test-compile, since the libs aren't a compilation
requirement.

Update the maven surefire dependency and disable the system classloader for
tests for this bug in some versions of the JDK (like on ubuntu right now):

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=911925

Tested on Ubuntu and OSX, not sure whether Windows works since I didn't try but it should.

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Modify the copy-dependencies plugin configuration to copy dlls, dylibs,
and .so's to the test-lib directory so that tests can be run on more platforms.
Switch the phase to test-compile, since the libs aren't a compilation
requirement.

Update the maven surefire dependency and disable the system classloader for
tests for this bug in some versions of the JDK (like on ubuntu right now):

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=911925
@johnwalker johnwalker requested a review from a team November 6, 2018 21:14
@johnwalker
Copy link
Contributor Author

The reason the linux native dependency doesn't show in the diff is because it was already there. Linux tests continue to work after this change.

Copy link
Member

@mattsb42-aws mattsb42-aws left a comment

Choose a reason for hiding this comment

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

This looks provisionally OK to me. We should also add Windows CI via AppVeyor or similar.

#IANAJD

@johnwalker johnwalker merged commit c5956c6 into aws:master Dec 10, 2018
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.

2 participants