One can select a testcase by ID when running a jtreg test case directly from 
jtreg (using the testcase.java#testID syntax). However, this has not been 
possible to do when launching jtreg indirectly from make.

This fix attempts to address this issue. I have not tested this thoroughly yet, 
I wanted to show the code to get feedback first. The idea is to *not* emulated 
destructive imperative assignments through the use of eval. I instead try to 
handle it in a functional style without reassigning variables. I have tried to 
make the change as small as possible.

I am not used to change the build system, so I would appreciate thorough review.

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

Commit messages:
 - 8287828: Fix so that one can select jtreg test case by ID from make

Changes: https://git.openjdk.java.net/jdk/pull/9028/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=9028&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8287828
  Stats: 48 lines in 1 file changed: 24 ins; 21 del; 3 mod
  Patch: https://git.openjdk.java.net/jdk/pull/9028.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/9028/head:pull/9028

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

Reply via email to