From 095287dbc86c7264d221aafc08ac1961140b0db4 Mon Sep 17 00:00:00 2001 From: flip1995 Date: Fri, 31 Jan 2020 14:43:02 +0100 Subject: [PATCH] Add two more error causes to integration test --- tests/integration.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/integration.rs b/tests/integration.rs index d14ced8ad4e..74f9a854dc1 100644 --- a/tests/integration.rs +++ b/tests/integration.rs @@ -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() {