From 49f7ecf5515dbca0711d6ac8e7b4707ca7d4a17c Mon Sep 17 00:00:00 2001 From: Anton-4 <17049058+Anton-4@users.noreply.github.com> Date: Tue, 20 Sep 2022 14:30:27 +0200 Subject: [PATCH] fixed benchmarks --- ci/bench-runner/src/main.rs | 2 +- crates/cli_utils/src/bench_utils.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/bench-runner/src/main.rs b/ci/bench-runner/src/main.rs index bb44247ea9..03888e34e5 100644 --- a/ci/bench-runner/src/main.rs +++ b/ci/bench-runner/src/main.rs @@ -227,7 +227,7 @@ fn calc_hashes_for_folder(benches_path_str: &str) -> HashMap { } 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); diff --git a/crates/cli_utils/src/bench_utils.rs b/crates/cli_utils/src/bench_utils.rs index 3d2c8b9505..c9f971266d 100644 --- a/crates/cli_utils/src/bench_utils.rs +++ b/crates/cli_utils/src/bench_utils.rs @@ -18,7 +18,7 @@ fn exec_bench_w_input( &[stdin_str], ); - if !compile_out.stderr.is_empty() { + if !compile_out.stderr.is_empty() && compile_out.stderr != "🔨 Rebuilding platform...\n" { panic!("{}", compile_out.stderr); }