Clean up and minor refactorings
This commit is contained in:
@@ -2,13 +2,10 @@ extern crate benchmark_repository;
|
||||
extern crate pretty_env_logger;
|
||||
extern crate yaml_rust;
|
||||
|
||||
use benchmark_repository::{BenchmarkRepository, TargetPath};
|
||||
use benchmark_repository::BenchmarkRepository;
|
||||
|
||||
use std::io::{self, copy, Read};
|
||||
use std::path::Path;
|
||||
use yaml_rust::{YamlLoader, YamlEmitter};
|
||||
|
||||
use std::{thread, time};
|
||||
use yaml_rust::YamlLoader;
|
||||
|
||||
fn main()
|
||||
{
|
||||
@@ -37,16 +34,16 @@ fn main()
|
||||
let file_name_base = format!("{}/{}/{}/{}", configuration_id, instance_ipc, instance_domain, instance_number);
|
||||
let file_name_output = format!("{}.out", file_name_base);
|
||||
|
||||
if (benchmark_repository.file_exists(Path::new(&file_name_output), "results"))
|
||||
if benchmark_repository.file_exists(Path::new(&file_name_output), "results")
|
||||
{
|
||||
println!("done: [{}, {}, {}/{}/{}]", configuration_id, instance_set_id, instance_ipc, instance_domain, instance_number);
|
||||
continue;
|
||||
}
|
||||
|
||||
let test = benchmark_repository.create_autocommit_directory(Path::new(&file_name_base), "results").unwrap();
|
||||
//println!("{}", test.display());
|
||||
println!("{}", test.display());
|
||||
|
||||
//println!("to do: [{}, {}, {}/{}/{}]", configuration_id, instance_set_id, instance_ipc, instance_domain, instance_number);
|
||||
println!("to do: [{}, {}, {}/{}/{}]", configuration_id, instance_set_id, instance_ipc, instance_domain, instance_number);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user