On Fri, 13 Jan 2023 15:42:36 GMT, Magnus Ihse Bursie <i...@openjdk.org> wrote:
> There are several configure settings that should have different default > values depending on if configure is run as part of a CI build, or a local > developer. > > We should have a `--with-build-env=ci/dev` argument that lets you chose such > build environment. Furthermore, configure should look for the industry > standard "CI" environment variable to determine if it is running in a CI > environment, and if so, select the ci build env as default. (This is > supported e.g. by GHA). > > Most prominently is the jtreg failure handler, which will halt with a sudo > prompt unless running on a properly configured CI machine on macOS. There is > no reason to run the failure handler at all unless you are running on a CI > machine, so disabling the failure handler by default for developer build > environments will fix this problem. Marked as reviewed by erikj (Reviewer). ------------- PR: https://git.openjdk.org/jdk/pull/11991