Add two more error causes to integration test

This commit is contained in:
flip1995 2020-01-31 14:43:02 +01:00
parent 1ceeb13e0a
commit 095287dbc8
No known key found for this signature in database
GPG key ID: 693086869D506637

View file

@ -59,6 +59,10 @@ fn integration_test() {
panic!("query stack during panic in the output");
} else if stderr.contains("E0463") {
panic!("error: E0463");
} else if stderr.contains("E0514") {
panic!("incompatible crate versions");
} else if stderr.contains("failed to run `rustc` to learn about target-specific information") {
panic!("couldn't find librustc_driver, consider setting `LD_LIBRARY_PATH`");
}
match output.status.code() {