Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit ba844a9

Browse files
authored
benchmark script void output file name (#2998)
1 parent 464ab8b commit ba844a9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/benchmarks-ci.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ fi
3131

3232
for pallet in ${pallets[@]}
3333
do
34-
output_file="${pallet//::/_}"
34+
output_dir=""
3535
extra_args=""
3636
# a little hack for pallet_xcm_benchmarks - we want to force custom implementation for XcmWeightInfo
3737
if [[ "$pallet" == "pallet_xcm_benchmarks::generic" ]] || [[ "$pallet" == "pallet_xcm_benchmarks::fungible" ]]; then
38-
output_file="xcm/$output_file"
38+
output_dir="xcm/"
3939
extra_args="--template=./templates/xcm-bench-template.hbs"
4040
fi
4141
$artifactsDir/polkadot-parachain benchmark pallet \
@@ -48,5 +48,5 @@ do
4848
--repeat=$repeat \
4949
--json \
5050
--header=./file_header.txt \
51-
--output="${benchmarkOutput}/${output_file}.rs" >> $artifactsDir/${pallet}_benchmark.json
51+
--output="${benchmarkOutput}/${output_dir}" >> $artifactsDir/${pallet}_benchmark.json
5252
done

0 commit comments

Comments
 (0)