about summary refs log tree commit diff
path: root/src/libtest/tests.rs
AgeCommit message (Collapse)AuthorLines
2020-07-27mv std libs to library/mark-688/+0
2019-12-22Format the worldMark Rousskov-80/+40
2019-11-18replace some asserts with assert_eq for better error readabilityThomas Etter-6/+6
2019-11-18print a more useful error message on should_panic mismatchThomas Etter-2/+33
2019-11-15Add --force-run-in-process unstable libtest optionTyler Mandry-0/+1
2019-11-06Replace `array.into_iter()` with `iter()` in `libtest/tests.rs`Lukas Kalbertodt-2/+2
2019-10-17Improve code styleIgor Aleksanov-7/+8
2019-10-17Make enum usage explicit and fix testsIgor Aleksanov-24/+31
2019-10-16Upgrade Emscripten targets to use upstream LLVM backendThomas Lively-2/+13
- Compatible with Emscripten 1.38.46-upstream or later upstream. - Refactors the Emscripten target spec to share code with other wasm targets. - Replaces the old incorrect wasm32 C call ABI with the correct one, preserving the old one as wasm32_bindgen_compat for wasm-bindgen compatibility. - Updates the varargs ABI used by Emscripten and deletes the old one. - Removes the obsolete wasm32-experimental-emscripten target. - Uses EMCC_CFLAGS on CI to avoid the timeout problems with #63649.
2019-10-09Resolve divergency with masterIgor Aleksanov-1/+1
2019-09-29Enhance report-time optionIgor Aleksanov-5/+120
2019-09-28Spawn one subprocess per unit test when panic=abortTyler Mandry-8/+8
2019-09-26Include message on tests that should panicKenny Goodin-2/+2
2019-09-21libtest: Add --report-time flag to print test execution timeJakob Schikowski-6/+40
2019-08-27Rollup merge of #62600 - emmericp:libtest-add-show-output, r=gnzlbgMazdak Farrokhzad-0/+11
libtest: add --show-output flag to print stdout of successful tests This pull request adds a new flag `--show-output` for tests to show the output of successful tests. For most formatters this was already supported just not exposed via the CLI (apparently only used by `librustdoc`). I've also added support for this option in the JSON formatter. This kind of fixes https://github.com/rust-lang/rust/issues/54669 which wants `--format json` to work with `--nocapture`, which is... well, impossible. What this issue really calls for is `--show-output` as implemented here.
2019-08-02Remove some more `cfg(test)`sVadim Petrochenkov-0/+21
2019-08-02libtest: Unconfigure tests during normal buildVadim Petrochenkov-3/+46
2019-07-11libtest: add --show-output optionPaul Emmerich-0/+11
this new flag enables printing the captured stdout of successful tests utilizing the already existing display_output test runner option
2019-06-16Separate libtest modulechansuke-0/+453