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
-**Note:** This is typically set automatically by LAVA job definitions and should not be used for local testing
250
+
244
251
---
245
252
246
253
## Examples
@@ -574,11 +581,27 @@ The test supports these environment variables (can be set in LAVA job definition
574
581
-`AUDIO_CLIP_PATH` - Local path to test audio files (overrides AUDIO_CLIP_URL if files exist)
575
582
-`AUDIO_SHARED_RECORDED_DIR` - Shared directory for recorded audio artifacts (optional)
576
583
-`REPO_PATH` - Repository root path (set by YAML, used for path resolution)
584
+
-`LAVA_TESTCASE_ID` - Override test case name for LAVA reporting (default: Audio_Record_Playback)
577
585
578
586
**Priority order for duration**: `AUDIO_DURATION` > `RUNTIMESEC` > default (10)
579
587
580
588
**Shared Artifact Directory**: The test uses `AUDIO_SHARED_RECORDED_DIR` to store recorded audio files in a shared location across multiple test runs. If not set, the test will automatically determine the appropriate directory based on the environment (LAVA vs local).
581
589
590
+
### LAVA Test Case Naming
591
+
592
+
The test supports flexible test case naming for LAVA integration:
593
+
594
+
-**Default behavior**: Reports results as `Audio_Record_Playback` in the `.res` file
595
+
-**LAVA override**: Set `LAVA_TESTCASE_ID` parameter in the YAML definition to match LAVA's expected test case name
596
+
-**Example YAML configuration**:
597
+
```yaml
598
+
params:
599
+
AUDIO_TEST_MODE: record
600
+
AUDIO_FORMATS: wav
601
+
LAVA_TESTCASE_ID: "GStreamer_Audio_Record_wav"# Matches LAVA expected name
602
+
```
603
+
- This ensures LAVA correctly matches test results with expected test case names, avoiding "Unexpected test result" errors
604
+
582
605
### Test Counting
583
606
584
607
- **Total tests**: 10 (when running with default wav,flac formats in all mode)
0 commit comments