Modified audio gst suite to handle test case name fix#382
Merged
smuppand merged 2 commits intoqualcomm-linux:mainfrom Apr 2, 2026
Merged
Conversation
Signed-off-by: nitinn <nitinn@qti.qualcomm.com>
Contributor
Author
Signed-off-by: nitinn <nitinn@qti.qualcomm.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR fixes the "Unexpected test result" errors in LAVA by implementing flexible test case naming for the GStreamer Audio_Record_Playback test suite.
Problem
LAVA was reporting "Unexpected test result" errors because:
Audio_Record_Playbackin the.resfileGStreamer_Audio_Record_wavbased on the job definitionSolution
Implemented a flexible test naming mechanism that allows LAVA to override the test case name:
RESULT_TESTNAMEvariable - Defaults toAudio_Record_Playbackbut can be overridden--lava-testcase-idparameter - Allows LAVA to specify the expected test case nameLAVA_TESTCASE_IDYAML parameter - Passes the test case name from LAVA job definition to the script.resfile writes to use$RESULT_TESTNAMEinstead of$TESTNAMEFiles Changed
Audio Test Suite (
Audio_Record_Playback):Audio_Record_Playback.yaml:LAVA_TESTCASE_ID: "Audio_Record_Playback"parameter--lava-testcase-id "${LAVA_TESTCASE_ID}"run.sh:RESULT_TESTNAME="$TESTNAME"variable (line 41)--lava-testcase-idparameter handler in argument parsing.resfile is written to use$RESULT_TESTNAMEREADME.md:--lava-testcase-idparameter in Options sectionLAVA_TESTCASE_IDto LAVA Environment Variables section