File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ PATH="${PATH}:/usr/local/bin"
19
19
export PATH
20
20
python_pkgs=" "
21
21
python_exec=" "
22
+ PYTHON_VERSION=" "
22
23
PYPERF_VERSION=" 1.11.0"
23
24
#
24
25
# To make sure.
@@ -94,7 +95,7 @@ generate_csv_file()
94
95
res_count=0
95
96
value_sum=0
96
97
97
- $TOOLS_BIN /test_header_info --front_matter --results_file " ${1} .csv" --host $to_configuration --sys_type $to_sys_type --tuned $to_tuned_setting --results_version $ PYPERF_VERSION --test_name $test_name_run
98
+ $TOOLS_BIN /test_header_info --front_matter --results_file " ${1} .csv" --host $to_configuration --sys_type $to_sys_type --tuned $to_tuned_setting --results_version " py ${PYTHON_VERSION} _ $ PYPERF_VERSION" --test_name $test_name_run
98
99
99
100
echo " Test:Avg:Unit" >> " ${1} .csv"
100
101
while IFS= read -r line
271
272
272
273
if [ $to_pbench -eq 0 ]; then
273
274
rm -rf pyperformance
274
-
275
+ PYTHON_VERSION= $( python3 --version | awk ' { print $2 } ' )
275
276
python3 -m pip install pyperformance==$PYPERF_VERSION
276
277
if [ $? -ne 0 ]; then
277
278
exit_out " python3 -m pip install pyperformance==$PYPERF_VERSION : failed" 1
You can’t perform that action at this time.
0 commit comments