Skip to content

Commit

Permalink
clean up kani xtask
Browse files Browse the repository at this point in the history
  • Loading branch information
EIRNf committed Nov 19, 2024
1 parent 936a10d commit 0dad463
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions tools/xtask/src/kani.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
use crate::KaniOptions;
use std::env;
use std::fs::{self, File};
use std::path::Path;
// use std::fs::{self, File};
use std::process::Command;
use std::io::{ErrorKind};
use std::io::ErrorKind;

use anyhow::bail;
use chrono::prelude::*;

//Verifies Kani is installed and launches it
pub(crate) fn launch_kani(cli: KaniOptions) -> anyhow::Result<()> {
Expand Down Expand Up @@ -61,7 +58,7 @@ pub(crate) fn launch_kani(cli: KaniOptions) -> anyhow::Result<()> {

println!("Running Command:{}", (pretty_cmd(&cmd)));

let output = Command::new("sh")
let _output = Command::new("sh")
.arg("./admin_scripts/kani_nvme_controller_value.sh")
.output();

Expand All @@ -72,7 +69,7 @@ pub(crate) fn launch_kani(cli: KaniOptions) -> anyhow::Result<()> {
// anyhow::bail!("Failed to run Kani: {}", pretty_cmd(&cmd));
}

let output = Command::new("sh")
let _output = Command::new("sh")
.arg("./admin_scripts/twizzler_nvme_controller_value.sh")
.output();

Expand Down

0 comments on commit 0dad463

Please sign in to comment.