Skip to content

Conversation

vnarapar
Copy link
Contributor

This commit is to update the overall pass/fail status of the LAVA job based on the test results

Added result_parse.sh

@vnarapar vnarapar requested review from mwasilew and smuppand May 30, 2025 19:51
@vnarapar
Copy link
Contributor Author

# Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
# SPDX-License-Identifier: BSD-3-Clause-Clear

find / -type f -name "*.res" 2>/dev/null | while IFS= read res_file; do
Copy link
Contributor

@smuppand smuppand Jun 1, 2025

Choose a reason for hiding this comment

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

Better accept a target directory (or defaults to current) walks recursively to find all .res files. Something like
RESULTS_DIR="${1:-.}"
find "$RESULTS_DIR" -type f -name '*.res'

for global parsing
$PWD/utils/result_parse.sh $PWD/suites

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 the command to search only in Runner directory

This commit is to update the overall pass/fail status of the LAVA job
based on the test results

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 3bd98cd into qualcomm-linux:main Jun 3, 2025
6 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