about summary refs log tree commit diff
path: root/library/test/src/tests.rs
AgeCommit message (Collapse)AuthorLines
2021-09-29Add testsSamuel E. Moelius III-25/+92
2021-09-29Implement #85440Samuel E. Moelius III-0/+2
2021-06-28Update to new bootstrap compilerMark Rousskov-38/+0
2021-05-09add bootstrap cfgAliƩnore Bouttefeux-0/+38
2021-05-03proof of concept add test type on printsAliƩnore Bouttefeux-0/+38
2021-03-24libtest: Index tests by a unique TestIdAnders Kaseorg-11/+19
This more robustly avoids problems with duplicate TestDesc. See #81852 and #82274. Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2021-02-08Rollup merge of #81356 - ehuss:libtest-filters, r=m-ou-seMara Bos-9/+26
libtest: allow multiple filters Libtest ignores any filters after the first. This changes it so that if multiple filters are passed, it will test against all of them. This also affects compiletest to do the same. Closes #30422
2021-02-07Auto merge of #81821 - nikic:update-wasm32, r=sanxiynbors-1/+1
Upgrade wasm32 image to Ubuntu 20.04 This switches the wasm32 image, which is used to test wasm32-unknown-emscripten, to Ubuntu 20.04. While at it, enable most of the excluded tests, as they seem to work fine with some minor fixes.
2021-02-06Upgrade wasm32 image to Ubuntu 20.04Nikita Popov-1/+1
This switches the wasm32 image, which is used to test wasm32-unknown-emscripten to Ubuntu 20.04. While at it, enable most of the excluded tests, as they seem to work fine with some minor fixes.
2021-02-03Allow/fix non_fmt_panic in tests.Mara Bos-1/+1
2021-01-31Rollup merge of #80053 - gilescope:include-ignore, r=m-ou-seJonas Schievink-6/+1
stabilise `cargo test -- --include-ignored` stabilise `cargo test -- --include-ignored` On stable there's no way to run ignored tests as well as the normal tests. An example use case where stabilising this would help: Exercism has some initial tests and then some additional ignored tests that people run currently with --ignore but currently they can't run all the tests in one go without being on nightly. It would be a little more ergonomic if this flag was stablilised. ( Fixes #65770 ) I built with ./x.py build -i library/test - but as libtest is a dylib is there an easy way to invoke it manually to check it's working as expected? (I've updated the automated tests.)
2021-01-24libtest: allow multiple filtersEric Huss-9/+26
2021-01-10Print failure message on all tests that should panic, but don'tjohanngan-15/+24
This already happens with should_panic tests without an expected message. This commit fixes should_panic tests with an expected message to have the same behavior.
2020-12-15stabilise --include-ignoredGiles Cope-6/+1
2020-11-27libtest: Print the total time taken to execute a test suiteJakob Schikowski-0/+1
2020-07-27mv std libs to library/mark-0/+688