Skip to content

Commit 3f41fe2

Browse files
committed
Error in integration test, if required toolchain is not installed
1 parent 26dcbf5 commit 3f41fe2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/integration.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ fn integration_test() {
7272
panic!("incompatible crate versions");
7373
} else if stderr.contains("failed to run `rustc` to learn about target-specific information") {
7474
panic!("couldn't find librustc_driver, consider setting `LD_LIBRARY_PATH`");
75+
} else if stderr.contains("toolchain") && stderr.contains("is not installed") {
76+
panic!("missing required toolchain");
7577
}
7678

7779
match output.status.code() {

0 commit comments

Comments
 (0)