Skip to content

Commit

Permalink
Add two more error causes to integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
flip1995 committed Jan 31, 2020
1 parent 0bfe00f commit 55c33e6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 55c33e6

Please sign in to comment.