Skip to content

Fix to get the overall result in LAVA #58

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

Merged
merged 1 commit into from
Jun 3, 2025

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 smuppand and mwasilew 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 <vnarapar@qti.qualcomm.com>
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