RFR: Initial section on testing [v2]

Jesper Wilhelmsson jwilhelm at openjdk.java.net
Mon Oct 19 22:11:13 UTC 2020


On Mon, 19 Oct 2020 21:13:37 GMT, Igor Ignatyev <iignatyev at openjdk.org> wrote:

>> Jesper Wilhelmsson has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Updates suggested by Phil and Igor
>
> src/index.md line 382:
> 
>> 380: Note that you can have several `@run` tags in the same test with different command line options.
>> 381:
>> 382: JTReg also have support for labeling tests with arbitrary keys using the `@key` tag. These keywords can then be
>> used to filter the test selection. For instance if you have a UI test which needs to display a window you'll want to
>> make sure the test harness doesn't try to run this test on a system which doesn't support headful tests. You do this by
>> specifying
> 
> JTReg doesn't support arbitrary keywords in `@key`, all keywords are to be registered in `TEST.ROOT` file.

Ah. Fixed. The JTReg documentation says "The list of acceptable keywords may be specified in the TEST.ROOT file" which
I interpret as "this may be done, but it doesn't have to be done".

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

PR: https://git.openjdk.java.net/guide/pull/30


More information about the guide-dev mailing list