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
Audio: improve record/playback tests using shared directory handling
- Use common recorded directory across audio tests
- Update run.sh and YAML for consistent folder handling
- Allow individual test execution
- Address review feedback# This is the 1st commit message:
Audio: fix/update record‑playback test to use shared recorded directory
Signed-off-by: Nitin Nakka <nitinn@qti.qualcomm.com>
addressed comments related to making common util for folder handling for video and audio
Signed-off-by: Nitin Nakka <nitinn@qti.qualcomm.com>
added individual test case run possibility for audio suite
Signed-off-by: Nitin Nakka <nitinn@qti.qualcomm.com>
Modified yaml file to handle common directory structure for files
Signed-off-by: Nitin Nakka <nitinn@qti.qualcomm.com>
Modified run sh file to handle common dir
Signed-off-by: Nitin Nakka <nitinn@qti.qualcomm.com>
Modified Audio scripts based on comments received
Signed-off-by: nitinn <nitinn@qti.qualcomm.com>
audio: address final review comments
Signed-off-by: nitinn <nitinn@qti.qualcomm.com>
This ensures that in CI/LAVA environments, recorded artifacts are placed in a shared location accessible across multiple test runs, while local/manual runs use a simple local directory.
166
+
143
167
---
144
168
145
169
## Dependencies
@@ -537,14 +561,19 @@ fi
537
561
The test supports these environment variables (can be set in LAVA job definition):
538
562
539
563
-`AUDIO_TEST_MODE` - Test mode (all/record/playback) (default: all)
564
+
-`AUDIO_TEST_NAME` - Individual test name for single test execution (optional)
540
565
-`AUDIO_FORMATS` - Comma-separated format list (default: `wav,flac`)
541
566
-`AUDIO_DURATION` - Recording duration in seconds (default: 10)
542
567
-`RUNTIMESEC` - Alternative to AUDIO_DURATION (for backward compatibility)
-`GST_DEBUG_LEVEL` - Alternative to AUDIO_GST_DEBUG
570
+
-`AUDIO_SHARED_RECORDED_DIR` - Shared directory for recorded audio artifacts (optional)
571
+
-`REPO_PATH` - Repository root path (set by YAML, used for path resolution)
545
572
546
573
**Priority order for duration**: `AUDIO_DURATION` > `RUNTIMESEC` > default (10)
547
574
575
+
**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).
576
+
548
577
### Test Counting
549
578
550
579
-**Total tests**: 10 (when running with default wav,flac formats in all mode)
0 commit comments