RFR: JDK-8176084 Developer-friendly run-test facility

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Thu Mar 2 10:53:22 UTC 2017

On 2017-03-02 09:27, Erik Helin wrote:
> Hi Magnus,
> thank you so much for doing this patch! Having a convenient way to run 
> tests from the Makefiles is something I have wanted for a very long 
> time :) Unfortunately I don't have the required Makefile knowledge to 
> review this, but if I can help out with testing the patch, just let me 
> know.

Sure, go ahead and test it. The easiest way might be to check out my 
branch in the jdk9-sandbox, ihse-testmakefiles-branch. There are slight 
differences to the published patch but none that really matters. (Most 
noticeably I have introduced a constantly failing test in gtest for 
testing purposes.)


> Thanks,
> Erik
> On 03/02/2017 08:42 AM, Magnus Ihse Bursie wrote:
>> A long-time issue has been a consistent way for developers to
>> effortlessly run tests on local builds. This patch introduces a new,
>> alternative "run-test" target, which allows for a smoother developer
>> experience in running tests. It does not modify or remove any existing
>> ways of running tests, which are still needed for automated test systems
>> and old scripts.
>> Bug: https://bugs.openjdk.java.net/browse/JDK-8176084
>> WebRev:
>> http://cr.openjdk.java.net/~ihse/JDK-8176084-introduce-run-test/webrev.01 
>> /Magnus

More information about the build-dev mailing list