about summary refs log tree commit diff
path: root/tests/codegen/patchable-function-entry/patchable-function-entry-no-flag.rs
diff options
context:
space:
mode:
authorTrevor Gross <tmgross@umich.edu>2025-01-23 05:08:10 +0000
committerTrevor Gross <t.gross35@gmail.com>2025-01-23 01:15:21 -0600
commitca8dccc5b6638aba06f4d3c06493500af3146846 (patch)
treec95ee3431d88d27cf550aa8302b3ce35e791725e /tests/codegen/patchable-function-entry/patchable-function-entry-no-flag.rs
parent8dc4ef6f0fb9df5da1bcd9931c018d9233595d53 (diff)
downloadrust-ca8dccc5b6638aba06f4d3c06493500af3146846.tar.gz
rust-ca8dccc5b6638aba06f4d3c06493500af3146846.zip
Introduce XFAILs that assert failure
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: https://github.com/rust-lang/libm/issues/455
Diffstat (limited to 'tests/codegen/patchable-function-entry/patchable-function-entry-no-flag.rs')
0 files changed, 0 insertions, 0 deletions