[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-jtreg-dev
Subject:    Integrated: CODETOOLS-7903251: ProblemList test fails on M1 Mac
From:       Jonathan Gibbons <jjg () openjdk ! org>
Date:       2022-08-12 14:34:34
Message-ID: KRyvaRm-uogkURlEKKS4zrUCzbrCY4hI4ZWuQkvdvSg=.1804ac33-7a96-4e56-bfac-6887c31a3d63 () github ! com
[Download RAW message or body]

On Fri, 12 Aug 2022 01:28:42 GMT, Jonathan Gibbons <jjg@openjdk.org> wrote:

> Please review a test fix for a jtreg self-test.(There's also an update to a comment \
> in a source file.) 
> This one is somewhat interesting.  Despite the name `System.getProperty("os.arch")` \
> depends on the JDK being run, more than anything derived from `uname`.  In \
> particular, for older JDKs on an M1 Mac, they report `os.arch` as the older \
> `x86_64`, since older JDKs, up to JDK 11.0.15 inclusive, do not come as `aarch64` \
> binaries.   But newer JDKs do report `os.arch` as `aarch64`.    
> The fix for the test is to use the JDK being tested to update the problem-list \
> template with the values that it will recognize when used as the test OS.  Tested \
> with `JDKHOME` set to  JDK 11.0.15 and JDK 17.

This pull request has now been integrated.

Changeset: daf8eb9c
Author:    Jonathan Gibbons <jjg@openjdk.org>
URL:       https://git.openjdk.org/jtreg/commit/daf8eb9c0c1560ed1690d93fdfdd445699400749
                
Stats:     68 lines in 3 files changed: 57 ins; 7 del; 4 mod

7903251: ProblemList test fails on M1 Mac

Reviewed-by: iris

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

PR: https://git.openjdk.org/jtreg/pull/102


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic