Skip to content

Conversation

vnarapar
Copy link
Contributor

Added minor fix to timer testcase to pdate the binary execution path and to print the complete output for easy debug

@vnarapar vnarapar requested a review from smuppand October 13, 2025 03:39
BINARY_PATH=""
while [ $# -gt 0 ]; do
case "$1" in
--binary-path=*)
Copy link
Contributor

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.

Copy link
Contributor Author

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
Copy link
Contributor

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.

Copy link
Contributor Author

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]>
Copy link
Contributor

@smuppand smuppand left a comment

Choose a reason for hiding this comment

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

LGTM

@smuppand smuppand merged commit 5ab3bb2 into qualcomm-linux:main Oct 14, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants