<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/tests/ui/std, branch beta</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=beta</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=beta'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-09-12T18:45:12+00:00</updated>
<entry>
<title>Add test batch 3</title>
<updated>2025-09-12T18:45:12+00:00</updated>
<author>
<name>Oneirical</name>
<email>manchot@videotron.ca</email>
</author>
<published>2025-08-20T18:02:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=957fa10d50787a4c6c6d8a35be5af6bd43ba1770'/>
<id>urn:sha1:957fa10d50787a4c6c6d8a35be5af6bd43ba1770</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bless tests with new lint messages</title>
<updated>2025-08-19T19:27:10+00:00</updated>
<author>
<name>Karol Zwolak</name>
<email>karolzwolak7@gmail.com</email>
</author>
<published>2025-04-28T11:47:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d14b83e378c421dd09320ace833a9d47848e3046'/>
<id>urn:sha1:d14b83e378c421dd09320ace833a9d47848e3046</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: Require `run-fail` ui tests to have an exit code (`SIGABRT` not ok)</title>
<updated>2025-07-19T16:44:07+00:00</updated>
<author>
<name>Martin Nordholts</name>
<email>martin.nordholts@codetale.se</email>
</author>
<published>2025-06-25T05:56:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e1d4f2a0c297690ddfc24815de57539f532f2471'/>
<id>urn:sha1:e1d4f2a0c297690ddfc24815de57539f532f2471</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>cleaned up some tests</title>
<updated>2025-07-04T19:45:24+00:00</updated>
<author>
<name>Kivooeo</name>
<email>Kivooeo123@gmail.com</email>
</author>
<published>2025-07-01T13:24:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b28806da237176468ab2afae42b51fe43ad416e6'/>
<id>urn:sha1:b28806da237176468ab2afae42b51fe43ad416e6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>moved tests</title>
<updated>2025-07-01T13:21:05+00:00</updated>
<author>
<name>Kivooeo</name>
<email>Kivooeo123@gmail.com</email>
</author>
<published>2025-07-01T13:21:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=986f1c9b692665d4e7388062b8d8536acb0c99fd'/>
<id>urn:sha1:986f1c9b692665d4e7388062b8d8536acb0c99fd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Specify a concrete stack size in channel tests</title>
<updated>2025-03-19T16:55:02+00:00</updated>
<author>
<name>Jeff Martin</name>
<email>martinjeffrey@google.com</email>
</author>
<published>2025-03-19T16:55:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ef815f3205eedec26c715463f51a6793e2fa651f'/>
<id>urn:sha1:ef815f3205eedec26c715463f51a6793e2fa651f</id>
<content type='text'>
The channel-stack-overflow-issue-102246 regression test fails on
platforms with a small default stack size (e.g. Fuchsia, with a default
of 256KiB). Update the test to specify an exact stack size for both the
sender and receiver operations, to ensure it is platform agnostic.

Set the stack size to less than the total allocation size of the mpsc
channel, to continue to prove that the allocation is on the heap.
</content>
</entry>
<entry>
<title>tests: cleanup `tests/ui/std/thread-sleep-ms.rs`</title>
<updated>2025-01-23T12:51:29+00:00</updated>
<author>
<name>许杰友 Jieyou Xu (Joe)</name>
<email>39484203+jieyouxu@users.noreply.github.com</email>
</author>
<published>2025-01-23T08:56:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e00e10c943947aa3d6a6bcbdf8ca035e9d8fd865'/>
<id>urn:sha1:e00e10c943947aa3d6a6bcbdf8ca035e9d8fd865</id>
<content type='text'>
- Use `needs-threads` instead of `ignore-sgx`.
- Remove unnecessary import and `#![allow(unused_import)]`.
</content>
</entry>
<entry>
<title>This test needs threads</title>
<updated>2024-11-08T02:18:34+00:00</updated>
<author>
<name>Josh Stone</name>
<email>jistone@redhat.com</email>
</author>
<published>2024-11-08T02:18:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9827c6dc2c1b81ec4e30a630e297745341977288'/>
<id>urn:sha1:9827c6dc2c1b81ec4e30a630e297745341977288</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Initialize channel `Block`s directly on the heap</title>
<updated>2024-11-07T18:09:45+00:00</updated>
<author>
<name>Josh Stone</name>
<email>jistone@redhat.com</email>
</author>
<published>2024-11-07T17:51:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=03383ad1021bd0ba34c28d7fda16e634a9ec8df4'/>
<id>urn:sha1:03383ad1021bd0ba34c28d7fda16e634a9ec8df4</id>
<content type='text'>
The channel's `Block::new` was causing a stack overflow because it held
32 item slots, instantiated on the stack before moving to `Box::new`.
The 32x multiplier made modestly-large item sizes untenable.

That block is now initialized directly on the heap.

Fixes #102246
</content>
</entry>
<entry>
<title>Fix most ui tests on emscripten target</title>
<updated>2024-10-15T12:25:55+00:00</updated>
<author>
<name>Hood Chatham</name>
<email>roberthoodchatham@gmail.com</email>
</author>
<published>2024-10-14T19:16:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1d6643c4f69ba31f91a385c51f46d615bd2b0d66'/>
<id>urn:sha1:1d6643c4f69ba31f91a385c51f46d615bd2b0d66</id>
<content type='text'>
To fix the linker errors, we need to set the output extension to `.js` instead
of `.wasm`. Setting the output to a `.wasm` file puts Emscripten into standalone
mode which is effectively a distinct target. We need to set the runner to be
`node` as well.

This fixes most of the ui tests. I fixed a few more tests with simple problems:
- `intrinsics/intrinsic-alignment.rs` and `structs-enums/rec-align-u64.rs` --
Two `#[cfg]` macros match for Emscripten so we got a duplicate definition of
`mod m`.
- `issues/issue-12699.rs` -- Seems to hang so I disabled it
- `process/process-sigpipe.rs` -- Not expected to work on Emscripten so I
disabled it
</content>
</entry>
</feed>
