Add installation test binaries for all remaining adapters
This commit is contained in:
parent
5632f24d24
commit
2a8d1343d6
12 changed files with 395 additions and 226 deletions
|
@ -3057,6 +3057,14 @@ impl Project {
|
|||
installation_test_binary: Option<LanguageServerBinary>,
|
||||
cx: &mut ModelContext<Self>,
|
||||
) {
|
||||
if !adapter.can_be_reinstalled() {
|
||||
log::info!(
|
||||
"Validation check requested for {:?} but it cannot be reinstalled",
|
||||
adapter.name.0
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
cx.spawn(|this, mut cx| async move {
|
||||
log::info!("About to spawn test binary");
|
||||
|
||||
|
@ -3086,6 +3094,7 @@ impl Project {
|
|||
|
||||
_ = timeout => {
|
||||
log::info!("test binary time-ed out, this counts as a success");
|
||||
_ = process.kill();
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue