RFR: JDK-8316894: make test TEST="jtreg:test/jdk/..." fails on AIX

Magnus Ihse Bursie ihse at openjdk.org
Wed Sep 27 12:18:12 UTC 2023


On Wed, 27 Sep 2023 08:18:45 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> Running jtreg tests with make test, for example
> make test TEST="jtreg:test/jdk/java/util/prefs" fails currently on AIX without setting the number of JOBS manually.
> We get this error message:
> Error: Bad use of -concurrency
> 
> Log of cmdargs shows :
> -vmoption:-Xmx768m
> -agentvm
> -verbose:fail,error,summary
> -retain:fail,error
> -concurrency:7.000000
> ....
> 
> So currently a float is used for the concurrency value, seems this is not supported.
> Reason is an old gawk printing float values instead of the needed ints, so better print ints in the makefile by using %d .

Looks good. Have you verified that this works with nawk as well as old gawk versions?

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

Marked as reviewed by ihse (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/15941#pullrequestreview-1646318845


More information about the build-dev mailing list