-
Notifications
You must be signed in to change notification settings - Fork 0
Pts #42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Pts #42
Conversation
# Conflicts: # phoronix/run_phoronix.sh
I think what we want to do, to simplify the code is to create test option file, with override ability at the command line for the test. So something like this File sub test name: If no overrides are given, we will use the options for the test. We can mandate that the order of the options follow that of the sub test request for input. If an over ride is desired, then something like this --test_option_override test name:option_name:value,................. |
@@ -109,6 +115,7 @@ if [ ! -d "test_tools" ]; then | |||
git clone $tools_git test_tools | |||
if [ $? -ne 0 ]; then | |||
error_out "Error pulling git $tools_git" 1 | |||
exit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not required, error out exits
if [ $move_back -eq 1 ]; then | ||
mv /tmp/perf $move_this | ||
fi | ||
exit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rtc code please.
*) | ||
echo option not found $1 | ||
usage | ||
exit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not needed usage exits out with rtc 1
;; | ||
--usage) | ||
usage | ||
exit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not needed, usage exits with rtc 1.
if [[ -n "${options[$key]}" ]]; then | ||
options[$key]=$values | ||
else | ||
echo "Unknown option: $key" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should use error_out
No description provided.