-
Notifications
You must be signed in to change notification settings - Fork 21
Added minor timer script fix #193
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
Conversation
BINARY_PATH="" | ||
while [ $# -gt 0 ]; do | ||
case "$1" in | ||
--binary-path=*) |
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.
It would be helpful to include help and usage information when supporting new CLI parameters, so users can easily see what options are available.
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.
Updated as per comments to add the help and usage information
if [ $? -ne 0 ]; then | ||
log_skip "$TESTNAME : Binary '$BINARY' not found" | ||
echo "$TESTNAME SKIP" > "$res_file" | ||
exit 1 |
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.
Would you prefer to have it fail if the binary is not available? Alternatively, we could exit gracefully with exit 0 instead of exit 1.
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.
Added SKIP with exit 0
Added minor fix to timer testcase to pdate the binary execution path and to print the complete output for easy debug Signed-off-by: Vamsee Narapareddi <[email protected]>
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.
LGTM
Added minor fix to timer testcase to pdate the binary execution path and to print the complete output for easy debug