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

Matthias Baesken mbaesken at openjdk.org
Wed Sep 27 08:27:44 UTC 2023


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 .

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

Commit messages:
 - JDK-8316894

Changes: https://git.openjdk.org/jdk/pull/15941/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=15941&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8316894
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/15941.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/15941/head:pull/15941

PR: https://git.openjdk.org/jdk/pull/15941


More information about the build-dev mailing list