Skip to content

Commit

Permalink
Merge pull request #6 from redhat-performance/fix_run_location
Browse files Browse the repository at this point in the history
Run pyperf in workloads
  • Loading branch information
dvalinrh authored Jun 22, 2022
2 parents 10605bb + 4d0a76b commit 9960a4c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions pyperf/pyperf_run
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,17 @@ else
run_dir=`echo $0 | cut -d'/' -f 1-${chars}`
fi

if [ -d "workloads" ]; then
#
# If running from zathras, workloads will be symlinked to
# to /mnt. Which is done due to azure having a very small
# user space.
#
start_dir=`pwd`
cd workloads
ln -s $start_dir/* .
fi

source test_tools/general_setup "$@"

NO_ARGUMENTS=(
Expand Down

0 comments on commit 9960a4c

Please sign in to comment.