RFR: 8308969: make test-prebuilt doesn't return the correct exit code

Erik Joelsson erikj at openjdk.org
Thu Jun 1 14:37:07 UTC 2023


On Fri, 26 May 2023 16:07:36 GMT, Antonios Printezis <tonyp at openjdk.org> wrote:

> For 'make' test and 'make test-only' the existence of exit-with-error is checked in the main target in Init.gmk. Is there a better way to fix this than to check for the existence of exit-with-error in RunTestsPrebuilt.gmk?

This is by design. We chose to make a difference between "we failed to run the tests" and "we successfully ran the tests but there were test failures". If you want to change this behavior, it has to be made opt in through configuration.

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

PR Comment: https://git.openjdk.org/jdk/pull/14183#issuecomment-1572173872



More information about the build-dev mailing list