about summary refs log tree commit diff
path: root/tests/run-make/libtest-json
AgeCommit message (Collapse)AuthorLines
2025-08-06Print thread ID in panic message if thread name is unknownTrevor Gross-3/+4
`panic!` does not print any identifying information for threads that are unnamed. However, in many cases, the thread ID can be determined. This changes the panic message from something like this: thread '<unnamed>' panicked at src/main.rs:3:5: explicit panic To something like this: thread '<unnamed>' (0xff9bf) panicked at src/main.rs:3:5: explicit panic Stack overflow messages are updated as well. This change applies to both named and unnamed threads. The ID printed is the OS integer thread ID rather than the Rust thread ID, which should also be what debuggers print.
2025-01-01Try to write the panic message with a single `write_all` callJohn Kåre Alsaker-3/+3
2024-08-17Port `run-make/libtest-json/validate_json.py` to RustZalathar-10/+13
This is a trivial Python script that simply tries to parse each line of stdin (i.e. the test process output) as JSON, to verify that the overall output is JSON Lines. We can perform the same check directly in `rmake.rs` using `serde_json`.
2024-08-13Port `run-make/libtest-json` to rmakeZalathar-22/+33
2023-07-29Change default panic handler message format.Mara Bos-3/+3
2023-05-02Add needs-unwind annotations to tests that need stack unwindingbjorn3-0/+1
2023-03-30ignore failing cross-compiled run-make testsJoshua Nelson-0/+1
`run-make-fulldeps` is never cross-compiled, so a lot of these tests never accounted for --target. Ignore them when cross-compiling for now.
2023-03-30Move almost all run-make-fulldeps to run-makeJoshua Nelson-0/+68
They pass fine.