Skip to content

Commit

Permalink
Quiet things down, message wise.
Browse files Browse the repository at this point in the history
  • Loading branch information
dvalinrh committed Aug 6, 2024
1 parent cfeaa46 commit 69b88c5
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions pyperf/pyperf_run
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ generate_csv_file()
pip3_install()
{
if [ $to_no_pkg_install -eq 0 ]; then
pip3 install $1
pip3 -q install $1
if [ $? -ne 0 ]; then
exit_out "pip3 install of $1 failed." 1
fi
Expand Down Expand Up @@ -190,7 +190,7 @@ if [ -d "workloads" ]; then
cd workloads
for file in `ls ${start_dir}`; do
if [[ ! -f $file ]] && [[ ! -d $file ]]; then
ln -s $start_dir/* .
ln -s $start_dir/$file .
fi
done
fi
Expand Down Expand Up @@ -272,6 +272,9 @@ if [ $to_pbench -eq 0 ]; then
# Install pip/pip3
#
wget https://bootstrap.pypa.io/get-pip.py
if [[ $? -ne 0 ]]; then
exit_out "Failed: wget https://bootstrap.pypa.io/get-pip.py" 1
fi
python3 ./get-pip.py
pip3_install psutil
pip3_install packaging
Expand Down Expand Up @@ -314,11 +317,5 @@ fi
#
# Process the data.
#
if [ $to_pbench -eq 1 ]; then
results_prefix=$to_puser"_instance_"$to_configuration
dir=`ls -rtd /var/lib/pbench-agent/pyperf* | tail -1`
cd $dir
else
${curdir}/test_tools/save_results --curdir $curdir --home_root $to_home_root --results /tmp/pyperf.out --test_name pyperf --tuned_setting=$to_tuned_setting --version NONE --user $to_user --other_files "python_results/*,test_results_report"
fi
${curdir}/test_tools/save_results --curdir $curdir --home_root $to_home_root --results /tmp/pyperf.out --test_name pyperf --tuned_setting=$to_tuned_setting --version NONE --user $to_user --other_files "python_results/*,test_results_report"
exit 0

0 comments on commit 69b88c5

Please sign in to comment.