Revert "feat(cli/tools/test_runner): add terse reporter (#11156)" (#11352)

it's another flag to understand, more code, and isn't something that anyone really needs.

This reverts commit 9d57a4aaeb.
This commit is contained in:
Ryan Dahl 2021-07-10 07:51:30 -07:00 committed by GitHub
parent b3f22d3fdd
commit 67c9937e66
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 3 additions and 172 deletions

View file

@ -100,7 +100,6 @@ pub enum DenoSubcommand {
no_run: bool,
fail_fast: bool,
quiet: bool,
terse: bool,
allow_none: bool,
include: Option<Vec<String>>,
filter: Option<String>,
@ -1011,11 +1010,6 @@ fn test_subcommand<'a, 'b>() -> App<'a, 'b> {
.help("Don't return error code if no test files are found")
.takes_value(false),
)
.arg(
Arg::with_name("terse")
.long("terse")
.help("UNSTABLE: Display one character per test instead of one line"),
)
.arg(
Arg::with_name("filter")
.set(ArgSettings::AllowLeadingHyphen)
@ -1705,7 +1699,6 @@ fn test_parse(flags: &mut Flags, matches: &clap::ArgMatches) {
let fail_fast = matches.is_present("fail-fast");
let allow_none = matches.is_present("allow-none");
let quiet = matches.is_present("quiet");
let terse = matches.is_present("terse");
let filter = matches.value_of("filter").map(String::from);
let shuffle = if matches.is_present("shuffle") {
@ -1760,7 +1753,6 @@ fn test_parse(flags: &mut Flags, matches: &clap::ArgMatches) {
doc,
fail_fast,
quiet,
terse,
include,
filter,
shuffle,
@ -3399,7 +3391,6 @@ mod tests {
filter: Some("- foo".to_string()),
allow_none: true,
quiet: false,
terse: false,
include: Some(svec!["dir1/", "dir2/"]),
shuffle: None,
concurrent_jobs: 1,