Support for running junit tests with different jvm versions.

Review Request #2651 - Created Aug. 18, 2015 and submitted

Information
Garrett Malmquist
pants
gmalmquist/per-test-platform
2008
25515fd...
Reviewers
pants-reviews
jsirois, stuhood, zundel
Junit tests now run using a java Distribution found to match the
test_platform.target_level of the test target. By default any jvm
whose version is *at least* the target_level is used. Using jvms
which are of the exact same version of the junit_tests can be forced
via the --strict-jvm-version flag.

If the test_platform isn't specified, it is assumed to be the same
as the platform (inherited from jvm_target).

Added tests under testprojects/tests/org/pantsbuild/testproject/testjvms, run by integration tests in tests/python/pants_test/backend/jvm/tasks/test_junit_run_integration.py.

CI went green here: https://travis-ci.org/pantsbuild/pants/builds/76115240
CI went green here: https://travis-ci.org/pantsbuild/pants/builds/76163217

Eric Ayers
Garrett Malmquist
Eric Ayers
Garrett Malmquist
Eric Ayers
Garrett Malmquist
Garrett Malmquist
Review request changed

Status: Closed (submitted)

Change Summary:

In commit 17712e32f4541d6591d2a8fb900809d4391b7e30

Loading...