RFR: 8287828: Fix so that one can select jtreg test case by ID from make

Leo Korinth lkorinth at openjdk.java.net
Tue Jun 7 17:42:33 UTC 2022


On Mon, 6 Jun 2022 16:20:18 GMT, Ioi Lam <iklam at openjdk.org> wrote:

>> Let me ask the obvious "dumb" question ... why does this have to be so complicated? Why isn't the name of the test simply passed through to jtreg as typed?
>
>> Let me ask the obvious "dumb" question ... why does this have to be so complicated? Why isn't the name of the test simply passed through to jtreg as typed?
> 
> Is it because `#` is treated as comment by the shell? Could it be encoded by something like `TestName.java%38testID`?

After input from @iklam, I made this new version that gives a much cleaner diff. It calls the old code unmodified from a wrapper function. I think this is better.

-------------

PR: https://git.openjdk.java.net/jdk/pull/9028



More information about the build-dev mailing list