mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-29 05:50:31 +08:00
cli-test: Create dirs automatically
This commit is contained in:
@@ -438,7 +438,8 @@ impl TestFormula {
|
||||
log::debug!(target: "test", "{path}: Running `{}` with {:?} in `{}`..", cmd.display(), assertion.args, run.path().display());
|
||||
|
||||
if !run.path().exists() {
|
||||
log::error!(target: "test", "{path}: Directory {} does not exist..", run.path().display());
|
||||
log::warn!(target: "test", "{path}: Directory {} does not exist. Creating..", run.path().display());
|
||||
fs::create_dir_all(run.path())?;
|
||||
}
|
||||
|
||||
let bins = self
|
||||
|
||||
Reference in New Issue
Block a user