Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 0 additions & 44 deletions general_setup
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,13 @@
# This file is contains code that is common among the test wrappers.
#

#
# Source .bashrc to keep pbench happy.
#
test_cmd=$0
source ~/.bashrc

# Values setting for test wrappers to use.
#
# TOOLS_BIN: points to the tool directory
# to_home_root: home directory
# to_configuration: configuration information
# to_times_to_run: number of times to run the test
# to_pbench: Run the test via pbench
# to_pbench_copy: Copy the pbench data, not move it.
# to_puser: User running pbench
# to_pstats: pbench stats to use
# to_run_label: Label for the run
# to_user: User on the test system running the test
# to_sys_type: for results info, basically aws, azure or local
Expand All @@ -56,11 +47,6 @@ gs_usage_info()
echo " --iterations <value>: Number of times to run the test, defaults to 1."
echo " --iteration_default <value>: Value to set iterations to, if default is not set."
echo " --no_pkg_install: Test is not to use dnf/yum/apt or other such tools"
echo " --pbench: use pbench-user-benchmark and place information into pbench, defaults to do not use."
echo " --pbench_user <value>: user who started everything. Defaults to the current user."
echo " --pbench_copy: Copy the pbench data, not move it."
echo " --pbench_stats: What stats to gather. Defaults to all stats."
echo " --run_label: the label to associate with the pbench run. No default setting."
echo " --run_user: user that is actually running the test on the test system. Defaults to user running wrapper."
echo " --sys_type: Type of system working with, aws, azure, hostname. Defaults to hostname."
echo " --sysname: name of the system running, used in determining config files. Defaults to hostname."
Expand All @@ -79,17 +65,12 @@ to_home_root=`echo $HOME | rev | cut -d'/' -f 2- | rev`
if [[ $to_home_root == "" ]]; then
to_home_root="/"
fi
to_pbench=0
to_pbench_copy="0"

to_puser=`whoami`
to_run_user=`whoami`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs to be present.

to_times_to_run=0
iteration_default=1
to_run_label=""
to_user=`whoami`
to_sysname=`hostname`
to_pstats="default"
to_no_pkg_install=0

to_tuned_setting=""
Expand Down Expand Up @@ -133,31 +114,6 @@ do
to_no_pkg_install=1
shift 1
;;
--pbench)
to_pbench=1
i=$((i + 1))
shift 1
;;
--pbench_copy)
to_pbench_copy=1
i=$((i + 1))
shift 1
;;
--pbench_stats)
i=$((i + 2))
to_pstats=$value
shift 2
;;
--pbench_user)
i=$((i + 2))
to_puser=$value
shift 2
;;
--run_label)
i=$((i + 2))
to_run_label=$value
shift 2
;;
--run_user)
i=$((i + 2))
to_user=$value
Expand Down
Loading