You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix AudioPlayback testcase ID collision for LAVA CI
This PR fixes the testcase ID collision issue in LAVA by implementing
flexible testcase naming for the AudioPlayback test suite, enabling
parallel execution of multiple AudioPlayback configurations in CI.
Changes:
- Added RESULT_TESTNAME variable and --lava-testcase-id parameter to run.sh
- Updated AudioPlayback.yaml to pass unique testcase IDs via LAVA_TESTCASE_ID
- Updated Read_me.md with CI/LAVA integration documentation and examples
Signed-off-by: Teja Swaroop Moida <tmoida@qti.qualcomm.com>
Copy file name to clipboardExpand all lines: Runner/suites/Multimedia/Audio/AudioPlayback/AudioPlayback.yaml
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -27,10 +27,11 @@ params:
27
27
NET_PROBE_ROUTE_IP: "1.1.1.1"# IP used for route probing, default: 1.1.1.1
28
28
NET_PING_HOST: "8.8.8.8"# Host used for ping reachability check, default: 8.8.8.8
29
29
RES_SUFFIX: ""# Suffix for unique result file and log directory (e.g., "Config1" generates AudioPlayback_Config1.res and results/AudioPlayback_Config1/), default: unset
30
+
LAVA_TESTCASE_ID: "AudioPlayback"# Unique testcase ID written into the .res file for LAVA, default: AudioPlayback
30
31
31
32
run:
32
33
steps:
33
34
- REPO_PATH=$PWD
34
35
- cd Runner/suites/Multimedia/Audio/AudioPlayback/
Copy file name to clipboardExpand all lines: Runner/suites/Multimedia/Audio/AudioPlayback/Read_me.md
+31Lines changed: 31 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,10 @@ This suite automates the validation of audio playback capabilities on Qualcomm L
14
14
- Use descriptive names (e.g., play_48KHz_8b_2ch) for specific formats
15
15
- Auto-discovery mode tests all available clips
16
16
-**Clip filtering**: Filter tests by sample rate, bit rate, or channel configuration
17
+
-**CI/LAVA integration**:
18
+
- Unique result file suffixes prevent file collisions in parallel test runs
19
+
- Unique testcase IDs prevent LAVA testcase ID collisions
20
+
- Enables running multiple AudioPlayback configurations simultaneously in CI
17
21
- Plays audio clips with configurable format, duration, and loop count
18
22
-**Network operations are optional**: By default, no network connection is attempted. Use `--enable-network-download` to enable downloading missing audio files
19
23
- Automatically downloads and extracts audio assets if missing
--audio-clips-path <path> Custom location for audio clips (for CI with pre-staged clips)
246
251
--res-suffix <suffix> Suffix for unique result file and log directory (e.g., "Config01" generates AudioPlayback_Config01.res and results/AudioPlayback_Config01/)
252
+
--lava-testcase-id <id> Unique testcase ID written into the .res file for LAVA (e.g., "AudioPlayback_Config01")
0 commit comments