-
Sub-task
-
Resolution: Unresolved
-
P4
-
11, 15, 16
java/awt/font/TextLayout/TestTibetan.java, TestOldHangul.java, VariationSelectorTest.java, and TestVS.java have '@ignore Requires a special font installed'; canonically, @ignore should be followed by the id of the bug which describes the problem and will be used to eventually fix it.
the more appropriate solutions for a situation when tests have special requirements:
- use `@requires` to check that the necessary conditions are met. in this case, this might including the creation of new at-requires property (in /test/lib/jtreg-ext/requires/VMProps.java or better a separate EnvProps class) which check that the fonts are installed;
- using custom check login in tests and throwing jtreg.SkippedException;
- using '/manual' jtreg option, which will exclude tests from automated runs, yet will still be possible for "manual" execution by direct jtreg invocation (and I believe even thru run-test framework).
the more appropriate solutions for a situation when tests have special requirements:
- use `@requires` to check that the necessary conditions are met. in this case, this might including the creation of new at-requires property (in /test/lib/jtreg-ext/requires/VMProps.java or better a separate EnvProps class) which check that the fonts are installed;
- using custom check login in tests and throwing jtreg.SkippedException;
- using '/manual' jtreg option, which will exclude tests from automated runs, yet will still be possible for "manual" execution by direct jtreg invocation (and I believe even thru run-test framework).