summary refs log tree commit diff
path: root/library/test/src/cli.rs
AgeCommit message (Collapse)AuthorLines
2022-03-10Use implicit capture syntax in format_argsT-O-R-U-S-2/+2
This updates the standard library's documentation to use the new syntax. The documentation is worthwhile to update as it should be more idiomatic (particularly for features like this, which are nice for users to get acquainted with). The general codebase is likely more hassle than benefit to update: it'll hurt git blame, and generally updates can be done by folks updating the code if (and when) that makes things more readable with the new format. A few places in the compiler and library code are updated (mostly just due to already having been done when this commit was first authored).
2022-01-30Use `optflag` for `--report-time`Samuel E. Moelius III-11/+3
Essentially, what is described here: https://github.com/rust-lang/rust/issues/64888#issuecomment-1008047228 There is one difference. The comment proposes to add a `--report-time-color` option. This change instead uses libtest's existing `--color` option for that purpose.
2021-09-30Check `allow_unstable` before checking environment variablesSamuel E. Moelius III-2/+2
2021-09-29Implement #85440Samuel E. Moelius III-0/+74
2021-04-25feat(libtest): Add JUnit formatterAndrey Cherkashin-4/+10
2021-02-20Add a chapter on the test harness.Eric Huss-8/+2
2021-02-08Rollup merge of #81356 - ehuss:libtest-filters, r=m-ou-seMara Bos-11/+6
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-01-24libtest: allow multiple filtersEric Huss-11/+6
2020-12-15stabilise --include-ignoredGiles Cope-1/+1
2020-07-27mv std libs to library/mark-0/+431