[code-reflection] RFR: HAT Test Report improved

Juan Fumero jfumero at openjdk.org
Tue Dec 9 15:02:54 UTC 2025


This PR adds a new exception for those tests in which a precision error is expected (E.g., when converting from float to fp16). It also adds an error code once the unit-tests are finished to facilitate integrated with GitHub actions. 

How to test:

java -cp hat/job.jar hat.java test-suite ffi-opencl
java -cp hat/job.jar hat.java test-suite ffi-cuda

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

Commit messages:
 - [hat] code-formatter applied
 - Add error code to test report
 - Add test_bfloat16_04 into the list
 - [hat] tests with prec. errors identified
 - [hat] test report with precision errors as expected fails
 - [hat] test report with precision errors as expected fails

Changes: https://git.openjdk.org/babylon/pull/742/files
  Webrev: https://webrevs.openjdk.org/?repo=babylon&pr=742&range=00
  Stats: 235 lines in 25 files changed: 113 ins; 11 del; 111 mod
  Patch: https://git.openjdk.org/babylon/pull/742.diff
  Fetch: git fetch https://git.openjdk.org/babylon.git pull/742/head:pull/742

PR: https://git.openjdk.org/babylon/pull/742


More information about the babylon-dev mailing list