fixed benchmarks

This commit is contained in:
Anton-4 2022-09-20 14:30:27 +02:00
parent 6e64bfc513
commit 49f7ecf551
No known key found for this signature in database
GPG key ID: A13F4A6E21141925
2 changed files with 2 additions and 2 deletions

View file

@ -227,7 +227,7 @@ fn calc_hashes_for_folder(benches_path_str: &str) -> HashMap<String, String> {
}
fn check_if_bench_executables_changed() -> bool {
let bench_folder_str = "/examples/benchmarks/";
let bench_folder_str = "/crates/cli_testing_examples/benchmarks/";
let main_benches_path_str = [BENCH_FOLDER_MAIN, bench_folder_str].join("");
let main_bench_hashes = calc_hashes_for_folder(&main_benches_path_str);

View file

@ -18,7 +18,7 @@ fn exec_bench_w_input<T: Measurement>(
&[stdin_str],
);
if !compile_out.stderr.is_empty() {
if !compile_out.stderr.is_empty() && compile_out.stderr != "🔨 Rebuilding platform...\n" {
panic!("{}", compile_out.stderr);
}