RFR: 8254129: IR Test Framework to support regex-based matching on the IR in JTreg compiler tests [v6]

Igor Ignatyev iignatyev at openjdk.java.net
Tue Apr 27 15:44:44 UTC 2021


On Tue, 27 Apr 2021 15:21:44 GMT, Christian Hagedorn <chagedorn at openjdk.org> wrote:

>> test/lib/jdk/test/lib/hotspot/ir_framework/TestFramework.java line 135:
>> 
>>> 133:                                         - To only run the failed tests use -DTest, -DExclude,
>>> 134:                                           and/or -DScenarios.
>>> 135:                                         - To also get the standard output of the test VM run with\s
>> 
>> why do you need `\s` here?
>
> I needed this because `jcheck` complained about trailing whitespaces. Maybe this needs to be addressed at some point in `jcheck`.

well, why do you want to have a trailing space here? the text block you current have produces the following multeline sting, which has a trailing space at 4th line:
```  #############################################################
   - To only run the failed tests use -DTest, -DExclude,
     and/or -DScenarios.
   - To also get the standard output of the test VM run with 
     -DReportStdout=true or for even more fine-grained logging
     use -DVerbose=true.
  #############################################################

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

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


More information about the hotspot-compiler-dev mailing list