Browse Source

Include name in verbose results output of boa-tester (#1158)

* Include name in verbose results output of boa-tester

Would make the logs a lot more readable.

* Fix typo
pull/1189/head
0x7D2B 4 years ago committed by GitHub
parent
commit
57e38adad5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      boa_tester/src/exec.rs
  2. 2
      boa_tester/src/main.rs

3
boa_tester/src/exec.rs

@ -58,7 +58,8 @@ impl TestSuite {
if verbose != 0 {
println!(
"Results: total: {}, passed: {}, ignored: {}, failed: {} (panics: {}{}), conformance: {:.2}%",
"Suite {} results: total: {}, passed: {}, ignored: {}, failed: {} (panics: {}{}), conformance: {:.2}%",
self.name,
total,
passed.to_string().green(),
ignored.to_string().yellow(),

2
boa_tester/src/main.rs

@ -163,7 +163,7 @@ static IGNORED: Lazy<Ignored> = Lazy::new(|| {
#[derive(StructOpt, Debug)]
#[structopt(name = "Boa test262 tester")]
enum Cli {
/// Run the test suitr.
/// Run the test suite.
Run {
/// Whether to show verbose output.
#[structopt(short, long, parse(from_occurrences))]

Loading…
Cancel
Save