From 57b662be4cd5e5690f8c7455509fd9d5d698718a Mon Sep 17 00:00:00 2001 From: Vamsee Narapareddi Date: Mon, 13 Oct 2025 09:07:18 +0530 Subject: [PATCH] Added minor timer script fix 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 --- Runner/suites/Kernel/Baseport/Timer/run.sh | 52 ++++++++++++++++++++-- 1 file changed, 48 insertions(+), 4 deletions(-) diff --git a/Runner/suites/Kernel/Baseport/Timer/run.sh b/Runner/suites/Kernel/Baseport/Timer/run.sh index 7abc3d16..3e0e6712 100755 --- a/Runner/suites/Kernel/Baseport/Timer/run.sh +++ b/Runner/suites/Kernel/Baseport/Timer/run.sh @@ -29,6 +29,39 @@ fi # shellcheck disable=SC1090,SC1091 . "$TOOLS/functestlib.sh" +# --- Parse CLI argument for custom binary path --- +show_help() { + cat < "$res_file" + exit 0 +fi # Run the binary and capture the output -OUTPUT=$($BINARY_PATH) +OUTPUT=$($BINARY) +echo $OUTPUT # Check if "pass:7" is in the output if echo "${OUTPUT}" | grep "pass:7"; then