mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-21 19:19:45 +00:00
fixed benchmarks
This commit is contained in:
parent
6e64bfc513
commit
49f7ecf551
2 changed files with 2 additions and 2 deletions
|
@ -227,7 +227,7 @@ fn calc_hashes_for_folder(benches_path_str: &str) -> HashMap<String, String> {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn check_if_bench_executables_changed() -> bool {
|
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_benches_path_str = [BENCH_FOLDER_MAIN, bench_folder_str].join("");
|
||||||
let main_bench_hashes = calc_hashes_for_folder(&main_benches_path_str);
|
let main_bench_hashes = calc_hashes_for_folder(&main_benches_path_str);
|
||||||
|
|
|
@ -18,7 +18,7 @@ fn exec_bench_w_input<T: Measurement>(
|
||||||
&[stdin_str],
|
&[stdin_str],
|
||||||
);
|
);
|
||||||
|
|
||||||
if !compile_out.stderr.is_empty() {
|
if !compile_out.stderr.is_empty() && compile_out.stderr != "🔨 Rebuilding platform...\n" {
|
||||||
panic!("{}", compile_out.stderr);
|
panic!("{}", compile_out.stderr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue