RFR: 7903519 : jtreg/jtharness is missing features for basic crash testing
andrlos
duke at openjdk.org
Mon Mar 24 21:14:24 UTC 2025
On Tue, 11 Mar 2025 08:02:32 GMT, Christian Stein <cstein at openjdk.org> wrote:
>> provides SPI for enabling external status transformations of failed tests
>>
>> this is a continuation of efforts after https://github.com/openjdk/jtharness/pull/59
>>
>> Requires newest jtharness build (not even tagged yet) that includes above mentioned change to be compiled succesfully
>>
>> The main idea is to provide a unified StatusTransformer interface, that can be externally implemented by users and added to a classpath in a separate jar to allow modifications of test execution status based on some elementary analysis. This can be easily used for crashtesting (filtering out only tests with jvm crashes).
>
> The use-case doesn't carry the weight of introducing and maintaining a SPI for arbitrary and distant test result mangling in the inards of `jtreg`. The aforementioned JUnit `TestRule` is a good example for a non-distant (think: test-local) way to influnce the result of a test in an understandable way.
>
> In the light of the discussion above, I won't approve this pull request.
>
> Let's discuss other approaches to achieve the goals expressed in https://bugs.openjdk.org/browse/CODETOOLS-7903519
Hi @sormuras do you have any ideas about possible approach? It seems that I either lost my openjdk login or I never had one to start with.. I will try and get it while you can start the discussion there. Thanks!
-------------
PR Comment: https://git.openjdk.org/jtreg/pull/235#issuecomment-2749408044
More information about the jtreg-dev
mailing list