Error in integration test, if required toolchain is not installed

This commit is contained in:
flip1995 2020-12-10 10:44:33 +01:00
parent 26dcbf5523
commit 3f41fe2704
No known key found for this signature in database
GPG key ID: 1CA0DF2AF59D68A5

View file

@ -72,6 +72,8 @@ fn integration_test() {
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`");
} else if stderr.contains("toolchain") && stderr.contains("is not installed") {
panic!("missing required toolchain");
}
match output.status.code() {