Skip to content

Commit

Permalink
Introduce XFAILs that assert failure
Browse files Browse the repository at this point in the history
Currently our XFAILs are open ended; we do not check that it actually
fails, so we have no easy way of knowing that a previously-failing test
starts passing. Introduce a new enum that we return from overrides to
give us more flexibility here, including the ability to assert that
expected failures happen.

With the new enum, it is also possible to specify ULP via return value
rather than passing a `&mut u32` parameter.

This includes refactoring of `precision.rs` to be more accurate about
where errors come from, if possible.

Fixes: #455
  • Loading branch information
tgross35 committed Jan 23, 2025
1 parent eb29467 commit 122ba48
Show file tree
Hide file tree
Showing 2 changed files with 268 additions and 253 deletions.
Loading

0 comments on commit 122ba48

Please sign in to comment.