Manishearth / compiletest-rs

An extraction of the compiletest utility from the Rust compiler
Apache License 2.0
218 stars 59 forks source link

Human-readable output #234

Open segeljakt opened 3 years ago

segeljakt commented 3 years ago

By default compiletest seems to dump the output in json which is good but difficult to read. Human readable output can be added manually by including a compiler directive at the top of the file.

// compile-flags: --error-format=human
fn foo() {

}

Would it be possible to add an option to Config so that this does not need to be done for every file?

Munksgaard commented 3 years ago

Good idea! Pull requests are certainly welcome, but I cannot promise that anyone else is going to come around to adding it anytime soon.