about summary refs log tree commit diff
path: root/library/test/src/lib.rs
AgeCommit message (Expand)AuthorLines
2025-08-04Add new `test::print_merged_doctests_times` used by rustdoc to display more d...Guillaume Gomez-0/+15
2025-07-31Make `libtest::ERROR_EXIT_CODE` const public to not redefine it in rustdocGuillaume Gomez-2/+2
2025-05-06Add new `test_main_with_exit_callback` public function in `libtest` to allow ...Guillaume Gomez-0/+10
2025-04-08libtest: Pass the test's panic payload as Option instead of ResultZalathar-8/+6
2025-02-10Use io::const_error! when possible over io::Error::newThalia Archibald-0/+1
2025-02-09Fix pattern matching mode changes and unsafe_op_in_unsafe_fnMichael Goulet-2/+6
2025-01-20test: add `#![warn(unreachable_pub)]`Urgau-0/+1
2024-11-19Update thread spawn hooks.Mara Bos-2/+2
2024-11-19Use add_spawn_hook for libtest's output capturing.Mara Bos-0/+11
2024-10-08Change a few `&Option<T>` into `Option<&T>`Yuri Astrakhan-5/+6
2024-09-24Dogfood `feature(file_buffered)`Josh Stone-0/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-5/+5
2024-07-29Rollup merge of #128307 - ojeda:unescaped_backticks, r=GuillaumeGomezMatthias Krüger-0/+1
2024-07-29Warn on `rustdoc::unescaped_backticks` for `core/alloc/std/test/proc_macro`Miguel Ojeda-0/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-27/+22
2024-07-17Avoid comments that describe multiple `use` items.Nicholas Nethercote-1/+0
2024-06-11Rename std::panic::PanicInfo to PanicHookInfo.Mara Bos-3/+3
2024-05-03Rollup merge of #124681 - risc0:erik/fix-test, r=joboetMichael Goulet-1/+3
2024-05-03zkvm: fix run_testsErik Kaneda-1/+3
2024-04-22Stabilize generic `NonZero`.Markus Reiter-1/+0
2024-04-06Drop panic hook after running testsTal Gelbard-1/+4
2024-02-22Use generic `NonZero` everywhere else.Markus Reiter-0/+1
2024-01-30Actually abort in panic-abort-testsTyler Mandry-13/+2
2024-01-22rustc: implement support for `riscv32im_risc0_zkvm_elf`Erik Kaneda-1/+1
2023-12-07libtest: Fix padding of benchmarks run as testsMartin Nordholts-14/+8
2023-11-15Bump cfg(bootstrap)sMark Rousskov-2/+2
2023-11-02Add insta-stable std::hash::{DefaultHasher, RandomState} exportsltdk-3/+2
2023-11-02Move RandomState and DefaultHasher into std::hash, but don't export for nowltdk-3/+3
2023-10-08rustdoc: remove rust logo from non-Rust cratesMichael Howell-0/+2
2023-08-23Bump cfg(bootstrap)Mark Rousskov-1/+1
2023-08-03Add `internal_features` lintNilstrieb-0/+1
2023-07-23fix couple of clippy findings:Matthias Krüger-2/+1
2023-05-26convert benches to tests in subprocess if we're not benchmarkingPietro Albini-2/+17
2023-05-26add StaticBenchAsTestFn and DynBenchAsTestFn to convert benches to testsPietro Albini-18/+4
2023-05-26remove nested function from run_testPietro Albini-63/+47
2023-05-26refactor executing tests to centralize actually invoking testsPietro Albini-41/+28
2023-04-14Rollup merge of #110154 - DaniPopes:library-typos, r=JohnTitorMatthias Krüger-5/+5
2023-04-10Fix typos in libraryDaniPopes-5/+5
2023-04-10Stabilize IsTerminalJosh Triplett-1/+0
2023-03-03Match unmatched backticks in library/est31-1/+1
2023-01-14Remove various double spaces in source comments.André Vennberg-1/+1
2023-01-03Fix a few clippy lints in libtestJoshua Nelson-1/+1
2022-12-19Fix `uninlined_format_args` in libtestnils-3/+2
2022-12-01Create a hacky fail-fast mode that stops tests at the first failureOli Scherer-0/+20
2022-11-04Rollup merge of #103681 - RalfJung:libtest-thread, r=thomccMatthias Krüger-30/+28
2022-10-31Include both benchmarks and tests in the numbers given to `TeFiltered{,Out}`Thom Chiovoloni-2/+5
2022-10-28libtest: run all tests in their own thread, if supported by the hostRalf Jung-30/+28
2022-10-27Do fewer passes and generally be more efficient when filtering testsBen Kimock-25/+62
2022-10-26Print the precondition we violated, and visible through output captureBen Kimock-0/+25
2022-10-24Rollup merge of #99939 - saethlin:pre-sort-tests, r=thomcc,jackh726Yuki Okushi-10/+7