From 59e47aaf6ebe1d127bdf996fbd8d6d593737f0e7 Mon Sep 17 00:00:00 2001 From: Muharem Ismailov Date: Mon, 21 Aug 2023 10:25:28 +0200 Subject: [PATCH] benchmark script void output file name (#2998) --- cumulus/scripts/benchmarks-ci.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cumulus/scripts/benchmarks-ci.sh b/cumulus/scripts/benchmarks-ci.sh index 0456ad4c42..195a455fa5 100755 --- a/cumulus/scripts/benchmarks-ci.sh +++ b/cumulus/scripts/benchmarks-ci.sh @@ -31,11 +31,11 @@ fi for pallet in ${pallets[@]} do - output_file="${pallet//::/_}" + output_dir="" extra_args="" # a little hack for pallet_xcm_benchmarks - we want to force custom implementation for XcmWeightInfo if [[ "$pallet" == "pallet_xcm_benchmarks::generic" ]] || [[ "$pallet" == "pallet_xcm_benchmarks::fungible" ]]; then - output_file="xcm/$output_file" + output_dir="xcm/" extra_args="--template=./templates/xcm-bench-template.hbs" fi $artifactsDir/polkadot-parachain benchmark pallet \ @@ -48,5 +48,5 @@ do --repeat=$repeat \ --json \ --header=./file_header.txt \ - --output="${benchmarkOutput}/${output_file}.rs" >> $artifactsDir/${pallet}_benchmark.json + --output="${benchmarkOutput}/${output_dir}" >> $artifactsDir/${pallet}_benchmark.json done