Michael Osipov created SUREFIRE-2244:
----------------------------------------

             Summary: Make IT for SUREFIRE-1295 reliable
                 Key: SUREFIRE-2244
                 URL: https://issues.apache.org/jira/browse/SUREFIRE-2244
             Project: Maven Surefire
          Issue Type: Task
    Affects Versions: 3.2.5
            Reporter: Michael Osipov
             Fix For: 3.2.6


The IT in SUREFIRE-1295 uses 
[this](https://github.com/michaeltandy/crashjvm/blob/master/src/main/java/uk/me/mjt/FindLibrary.java)
 small native library to perform checking, but this lib is only availabe for 
Windows/amd64, Linux/amd64 and macOS/amd64. While there is an assume for the 
OS, it does not check the arch at all. {{macos-latest}} in GH Actions now uses 
arm64 only: https://github.com/actions/runner-images/issues/9741. Thus, the IT 
fails for an incomplete assumption. We should remove the assumption, run the 
test and check for:
* java.lang.RuntimeException: Unrecognised OS
* java.lang.RuntimeException: Unrecognised arch
and the verify tha actual output/crash.




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to