Skip to content

Commit f6434f1

Browse files
committed
Add two more error causes to integration test
1 parent e78da64 commit f6434f1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/integration.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ fn integration_test() {
5959
panic!("query stack during panic in the output");
6060
} else if stderr.contains("E0463") {
6161
panic!("error: E0463");
62+
} else if stderr.contains("E0514") {
63+
panic!("incompatible crate versions");
64+
} else if stderr.contains("failed to run `rustc` to learn about target-specific information") {
65+
panic!("couldn't find librustc_driver, consider setting `LD_LIBRARY_PATH`");
6266
}
6367

6468
match output.status.code() {

0 commit comments

Comments
 (0)