Commit 6fbded5
committed
Audio: Increase pre-merge test coverage to 10 test cases
Expanded audio testing from 2 to 10 test cases in the pre-merge CI pipeline
to improve validation coverage across different audio formats and configurations.
Changes:
- AudioRecord: Added support for 10 recording configurations
- AudioPlayback: Added support for 20 playback configurations
- meta-ar-ci-premerge.yaml: Updated to run 7 playback + 3 record tests
- Added --res-suffix parameter for unique result files in CI/LAVA environments
- Updated documentation with CI/LAVA workflow examples
AudioRecord enhancements:
* Implemented config discovery mode with 10 predefined test configurations
* Added --config-name and --config-filter CLI options for flexible test selection
* Added --res-suffix option to generate unique result files (e.g., AudioRecord_Config1.res)
* Updated documentation with configuration table and usage examples
* Added CI/LAVA workflow examples with validated output
* Modified YAML to support new config parameters (defaults to record_config1)
* Updated YAML with RES_SUFFIX parameter for parallel test execution
AudioPlayback enhancements:
* Implemented clip discovery mode with 20 predefined test configurations
* Added --clip-name and --clip-filter CLI options for flexible test selection
* Added --res-suffix option to generate unique result files (e.g., AudioPlayback_Config1.res)
* Updated documentation with configuration table and usage examples
* Added CI/LAVA workflow examples with validated output
* Modified YAML to support new clip parameters (defaults to Config1)
* Updated YAML with RES_SUFFIX parameter for parallel test execution
Pre-merge CI updates:
* 7 playback tests: Config1, Config7, Config13, Config15, Config18, Config20, Config5
* 3 record tests: record_config1, record_config7, record_config10
* Uses pre-staged clips at /home/AudioClips/ for faster execution
* 10-second recording duration for efficient CI runtime
* Unique result files prevent overwriting in parallel execution
Test coverage now includes:
- Sample rates: 8KHz to 384KHz
- Bit depths: 8-bit to 32-bit
- Channel configs: Mono, Stereo
Signed-off-by: Teja Swaroop Moida <tmoida@qti.qualcomm.com>1 parent ceff462 commit 6fbded5
8 files changed
Lines changed: 1908 additions & 354 deletions
File tree
- Runner
- plans
- suites/Multimedia/Audio
- AudioPlayback
- AudioRecord
- utils
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
13 | 11 | | |
14 | 12 | | |
15 | 13 | | |
16 | 14 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
21 | 61 | | |
22 | | - | |
| |||
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| |||
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
| 29 | + | |
27 | 30 | | |
28 | 31 | | |
29 | 32 | | |
30 | 33 | | |
31 | 34 | | |
32 | | - | |
33 | | - | |
| 35 | + | |
| 36 | + | |
0 commit comments