Files
rust/tests/ui
Martin Nordholts e1d4f2a0c2 tests: Require run-fail ui tests to have an exit code (SIGABRT not ok)
And introduce two new directives for ui tests:
* `run-crash`
* `run-fail-or-crash`

Normally a `run-fail` ui test like tests that panic shall not be
terminated by a signal like `SIGABRT`. So begin having that as a hard
requirement.

Some of our current tests do terminate by a signal/crash however.
Introduce and use `run-crash` for those tests. Note that Windows crashes
are not handled by signals but by certain high bits set on the process
exit code. Example exit code for crash on Windows: `0xc000001d`.
Because of this, we define "crash" on all platforms as "not exit with
success and not exit with a regular failure code in the range 1..=127".

Some tests behave differently on different targets:
* Targets without unwind support will abort (crash) instead of exit with
  failure code 101 after panicking. As a special case, allow crashes for
  `run-fail` tests for such targets.
* Different sanitizer implementations handle detected memory problems
  differently. Some abort (crash) the process while others exit with
  failure code 1. Introduce and use `run-fail-or-crash` for such tests.
2025-07-19 18:44:07 +02:00
..
2025-06-11 15:30:15 +01:00
2025-05-21 07:24:43 +00:00
2025-07-10 18:50:35 +05:00
2025-07-13 00:03:31 +05:00
2025-06-11 17:49:03 +05:00
2025-07-15 09:21:27 +02:00
2025-07-15 23:28:15 +02:00
2025-06-18 10:20:43 +02:00
2025-07-05 00:45:24 +05:00
2025-07-05 01:54:04 +05:00
2025-07-17 15:51:32 +05:00
2025-06-16 07:30:09 -04:00
2025-07-06 09:51:35 +02:00
2025-06-06 20:52:34 +00:00
2025-07-17 15:51:32 +05:00
2025-07-17 15:51:32 +05:00
2025-05-31 19:49:19 +05:00
2025-07-10 18:50:35 +05:00
2025-06-11 20:51:49 +05:00
2025-06-29 15:37:33 +05:00
2025-06-13 01:16:36 +02:00
2025-07-10 18:50:35 +05:00
2025-06-03 11:45:58 +02:00
2025-07-10 18:47:20 +05:00
2025-06-18 10:20:43 +02:00
2025-06-18 10:20:43 +02:00
2025-07-01 14:36:28 +02:00
2025-07-05 00:45:24 +05:00
2025-07-13 00:03:31 +05:00
2025-07-10 18:47:20 +05:00
2025-07-01 15:16:56 +05:00
2025-07-10 18:50:35 +05:00
2025-07-05 00:45:24 +05:00
2025-07-13 00:03:31 +05:00
2025-07-10 18:50:35 +05:00
2025-07-13 00:03:31 +05:00
2025-07-06 09:51:35 +02:00
2025-06-08 11:25:09 +05:00
2025-07-17 22:21:21 +00:00
2025-07-17 15:51:32 +05:00
2025-07-05 01:54:04 +05:00
2025-07-15 09:21:27 +02:00
2025-07-17 18:06:26 +08:00
2025-07-07 08:13:12 +00:00
2025-07-13 13:50:01 +00:00
2025-07-05 01:25:48 +05:00
2025-06-26 18:11:14 +00:00
2025-07-13 00:03:31 +05:00
2025-07-05 01:54:04 +05:00
2025-03-27 14:11:11 +01:00
2025-07-01 15:16:56 +05:00
2025-07-13 00:03:31 +05:00
2025-06-18 10:20:43 +02:00
2025-07-10 18:47:20 +05:00
2025-07-18 07:47:08 +00:00
2025-04-25 20:50:57 +09:00
2025-06-08 03:44:44 +05:00
2025-07-10 18:50:35 +05:00
2025-07-15 13:48:30 +00:00
2025-06-18 10:20:43 +02:00
2025-04-03 21:41:58 +00:00
2025-07-14 12:01:41 +03:00