RFR: 8288989: Make tests not depend on the source code
Adam Sotona
asotona at openjdk.org
Thu Dec 14 11:45:48 UTC 2023
On Wed, 13 Dec 2023 16:54:33 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:
> > just curious: in what conditions the tests will be executed in a source-less test environment? and in any case isn't it preferable to let the test fail so that the user knows that it failed?
>
> Some external users execute tests in a context where the source directory is not available. Throwing `jtreg.SkippedException` is a mild form of noticeable failure.
I don't have an access to any environment to test it, so I prefer the same solution as already applied in several similar situations across the JDK tests.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/16470#issuecomment-1855694559
More information about the compiler-dev
mailing list