Remove more “test-” prefixes
This commit is contained in:
parent
f51e45eb75
commit
9676adc24d
@ -16,10 +16,10 @@ fn main()
|
|||||||
|
|
||||||
let mut benchmark_repository = BenchmarkRepository::new("git@git.luehne.de:patrick/tplp-planning-benchmark.git", Path::new("storage"), "git", "Potassco Bot", "bot@potassco.org");
|
let mut benchmark_repository = BenchmarkRepository::new("git@git.luehne.de:patrick/tplp-planning-benchmark.git", Path::new("storage"), "git", "Potassco Bot", "bot@potassco.org");
|
||||||
|
|
||||||
let content = benchmark_repository.read_file(Path::new("configurations.yml"), "test-config").unwrap();
|
let content = benchmark_repository.read_file(Path::new("configurations.yml"), "config").unwrap();
|
||||||
let configurations = &YamlLoader::load_from_str(&content).unwrap()[0]["configurations"];
|
let configurations = &YamlLoader::load_from_str(&content).unwrap()[0]["configurations"];
|
||||||
|
|
||||||
let content = benchmark_repository.read_file(Path::new("instances.yml"), "test-config").unwrap();
|
let content = benchmark_repository.read_file(Path::new("instances.yml"), "config").unwrap();
|
||||||
let instances = &YamlLoader::load_from_str(&content).unwrap()[0];
|
let instances = &YamlLoader::load_from_str(&content).unwrap()[0];
|
||||||
|
|
||||||
for configuration in configurations.as_vec().unwrap()
|
for configuration in configurations.as_vec().unwrap()
|
||||||
@ -37,13 +37,13 @@ fn main()
|
|||||||
let file_name_base = format!("{}/{}/{}/{}", configuration_id, instance_ipc, instance_domain, instance_number);
|
let file_name_base = format!("{}/{}/{}/{}", configuration_id, instance_ipc, instance_domain, instance_number);
|
||||||
let file_name_output = format!("{}.out", file_name_base);
|
let file_name_output = format!("{}.out", file_name_base);
|
||||||
|
|
||||||
if (benchmark_repository.file_exists(Path::new(&file_name_output), "test-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);
|
println!("done: [{}, {}, {}/{}/{}]", configuration_id, instance_set_id, instance_ipc, instance_domain, instance_number);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
let test = benchmark_repository.create_autocommit_directory(Path::new(&file_name_base), "test-results").unwrap();
|
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);
|
||||||
|
Loading…
Reference in New Issue
Block a user