| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-03-25 | Moves test::black_box to core::hint | gnzlbg | -17/+1 | |
| This changes removes a cyclic dependency between the "test" and "libtest" crates, where "libtest" depends on "test" for "black_box", but "test" depends on "libtest" for everything else. I've chosen the "hint" module because there seems to be enough consensus in the discussion of RFC2360 that this module is where such an intrinsic would belong, but this PR does not implement that RFC! (note: if that RFC ever gets merged, the API, docs, etc. of this API will need to change). For backwards compatibility reasons I've chosen to also keep the "test" feature gate for these instead of adding a new feature gate. If we change the feature gate, we'll potentially all benchmarks, and while that's something that we could do, it seems unnecessary to do that now - if RFC2360 gets merged, we'll need to do that anyways. | ||||
| 2019-03-20 | Move some bench tests back from libtest | gnzlbg | -0/+25 | |
| 2019-03-19 | Export stats::Summary from libtest | gnzlbg | -1/+4 | |
| 2019-03-19 | Add missing explicit imports | gnzlbg | -1/+6 | |
| 2019-03-19 | Move black_box back to rust-lang/libtest and use explicit imports | gnzlbg | -1/+20 | |
| 2019-03-19 | Allow the staged_api | gnzlbg | -0/+1 | |
| 2019-03-19 | Use feature(test) | gnzlbg | -0/+1 | |
| 2019-03-19 | Re-export libtest | gnzlbg | -0/+17 | |
| 2019-03-19 | Move libtest out of rust-lang/rust | gnzlbg | -2247/+0 | |
| 2019-02-24 | Simplify exclude_should_panic flag. | memoryruins | -12/+6 | |
| 2019-02-23 | Add unstable option to ignore should_panic tests. | memoryruins | -0/+45 | |
| 2019-02-14 | Rollup merge of #57856 - lzutao:fix-old-first-edition, r=steveklabnik | Mazdak Farrokhzad | -1/+1 | |
| Convert old first edition links to current edition one r? @steveklabnik | ||||
| 2019-02-13 | Convert old doc links to current edition | Lzu Tao | -1/+1 | |
| Use footnote style to bypass the tidy check | ||||
| 2019-02-10 | libs: doc comments | Alexander Regueiro | -1/+1 | |
| 2019-02-07 | Remove images' url to make it work even without internet connection | Guillaume Gomez | -6/+1 | |
| 2019-02-04 | Excute rustfmt for fixing tidy check | Hirokazu Hata | -55/+86 | |
| 2019-02-04 | Transition libtest to 2018 edition | Hirokazu Hata | -16/+17 | |
| 2019-01-27 | Auto merge of #57765 - Mark-Simulacrum:bootstrap-bump, r=alexcrichton | bors | -1/+0 | |
| Bump bootstrap compiler to 1.33 beta r? @alexcrichton or @pietroalbini cc @rust-lang/release | ||||
| 2019-01-26 | Bump bootstrap compiler to 1.33 beta | Mark Rousskov | -1/+0 | |
| 2019-01-20 | Add missing #![feature(rustc_private)] annotation | Igor Matuszewski | -1/+1 | |
| 2019-01-14 | Stabilize `cfg_target_vendor`, #29718 | Jethro Beekman | -1/+1 | |
| 2018-12-31 | Bound sgx target_env with fortanix as target_vendor | Yu Ding | -2/+4 | |
| Signed-off-by: Yu Ding <dingelish@gmail.com> | ||||
| 2018-12-25 | Remove licenses | Mark Rousskov | -10/+0 | |
| 2018-12-11 | Auto merge of #56243 - RalfJung:test-deterministic, r=alexcrichton | bors | -15/+27 | |
| libtest: Use deterministic HashMap, avoid spawning thread if there is no concurrency It seems desirable to make a test and bench runner deterministic, which this achieves by using a deterministic hasher. Also, we we only have 1 thread, we don't bother spawning one and just use the main thread. The motivation for this is to be able to run the test harness in miri, where we can neither access the OS RNG, nor spawn threads. | ||||
| 2018-12-11 | use an enum instead of bool | Ralf Jung | -12/+17 | |
| 2018-12-07 | Various minor/cosmetic improvements to code | Alexander Regueiro | -4/+4 | |
| 2018-12-07 | Add x86_64-fortanix-unknown-sgx target to libstd and dependencies | Jethro Beekman | -4/+6 | |
| The files src/libstd/sys/sgx/*.rs are mostly copied/adapted from the wasm target. This also updates the dlmalloc submodule to the very latest version. | ||||
| 2018-11-27 | fix libtest test suite | Ralf Jung | -6/+6 | |
| 2018-11-27 | Do not spawn a thread if we do not use concurrency | Ralf Jung | -5/+8 | |
| 2018-11-27 | use deterministic HashMap in libtest | Ralf Jung | -4/+8 | |
| 2018-10-14 | add option to libtest to run all tests | Emerentius | -46/+104 | |
| flag name is --include-ignored requires -Zunstable-options for now | ||||
| 2018-10-14 | refactor filter_tests | Emerentius | -43/+23 | |
| same behaviour, just shorter | ||||
| 2018-09-27 | Bump to 1.31.0 and bootstrap from 1.30 beta | Josh Stone | -1/+1 | |
| 2018-09-24 | aarch64-pc-windows-msvc: Don't link libpanic_unwind to libtest. | Michael Woerister | -1/+9 | |
| 2018-09-15 | Revert "Auto merge of #53527 - Emerentius:test_all, r=nrc" | Eduard-Mihai Burtescu | -119/+81 | |
| This reverts commit 9f53c87b4b1f097e111c9525d60470ed22631018, reversing changes made to cba0fdf43c22795822e1d7c751a69e6c85007221. | ||||
| 2018-09-15 | Auto merge of #53527 - Emerentius:test_all, r=nrc | bors | -81/+119 | |
| Add option to run all tests This adds the "--include-ignored" flag to libtest, which allows running ignored and unignored tests in one go. Closes #50363 | ||||
| 2018-09-11 | stabalize infer outlives requirements (RFC 2093). | toidiu | -1/+0 | |
| Co-authored-by: nikomatsakis | ||||
| 2018-09-05 | rename option to run all tests and make it unstable | Emerentius | -12/+20 | |
| new name: --include-ignored requires -Zunstable-options | ||||
| 2018-09-04 | Introduce Custom Test Frameworks | John Renner | -1/+2 | |
| 2018-08-29 | Replace usages of 'bad_style' with 'nonstandard_style'. | Corey Farwell | -1/+1 | |
| `bad_style` is being deprecated in favor of `nonstandard_style`: - https://github.com/rust-lang/rust/issues/41646 | ||||
| 2018-08-24 | check that adding infer-outlives requirement to all crates works | Niko Matsakis | -0/+1 | |
| 2018-08-20 | add option to run all tests | Emerentius | -46/+96 | |
| add --all flag to libtest that runs ignored and not ignored tests | ||||
| 2018-08-20 | refactor filter_tests | Emerentius | -43/+23 | |
| same behaviour, just shorter | ||||
| 2018-08-15 | Rollup merge of #52453 - srijs:fix-52436, r=TimNN | Guillaume Gomez | -1/+8 | |
| improve diagnostics for tests with custom return values This is an attempt at getting the ball rolling to improve the diagnostics for test functions that return custom `impl Termination` values (see #52436). An alternative could be to use `eprintln!`, but including this in the panic message felt nicely consistent with how failing test assertions would be reported. Let me know what you think! | ||||
| 2018-08-11 | improve diagnostics for tests with custom return values | Sam Rijs | -1/+8 | |
| fixes #52436 | ||||
| 2018-08-09 | [nll] libtest: enable feature(nll) for bootstrap | memoryruins | -0/+1 | |
| 2018-07-30 | Auto merge of #52805 - ljedrz:format_str_literal, r=petrochenkov | bors | -1/+1 | |
| Don't format!() string literals Prefer `to_string()` to `format!()` take 2, this time targetting string literals. In some cases (`&format!("...")` -> `"..."`) also removes allocations. Occurences of `format!("")` are changed to `String::new()`. | ||||
| 2018-07-29 | Auto merge of #52764 - sinkuu:cleanup, r=nikomatsakis | bors | -2/+1 | |
| Misc cleanups | ||||
| 2018-07-28 | Don't format!() string literals | ljedrz | -1/+1 | |
| 2018-07-27 | Use str::repeat | Shotaro Yamada | -2/+1 | |
