RFR(M): 8175300 - Enable artifact resolution for jtreg tests
christian.tornqvist at oracle.com
Thu Mar 9 16:42:46 UTC 2017
Updated webrev based on feedback from Magnus Ihse Bursie:
From: hotspot-dev [mailto:hotspot-dev-bounces at openjdk.java.net] On Behalf Of
Sent: Tuesday, March 7, 2017 3:03 PM
To: hotspot-dev at openjdk.java.net; 'build-dev' <build-dev at openjdk.java.net>
Subject: RFR(M): 8175300 - Enable artifact resolution for jtreg tests
Please review this change that adds the ability to have external
dependencies in jtreg tests. As a proof of concept, I've added Scimark to
the Hotspot repository. The concept is this, annotate the test with one or
more @Artifact annotation describing the external dependencies, these can
then either be resolved manually (using -Djdk.test.lib.artifacts.<name>) or
automatically using a custom ArtifactManager.
The make changes were contributed by Erik Joelsson.
These changes have been verified by running the Scimark test locally (using
make) and in JPRT.
More information about the build-dev