Repository navigation
test-case: simultaneous-playback-capture.sh to remove 'both' keyword - #81
Merged
Merged
Conversation
Contributor
stripes416
suggested changes
Feb 19, 2020
xiulipan
previously approved these changes
Feb 21, 2020
Contributor
|
@stripes416 @aiChaoSONG Please help to review and approve as all dependency is merged. |
|
@Bin-QA still need some fix. hw:0,1, hw:0,2 shouldn't be present |
Need to split both type pipeline into playback and capture Change both keyword into check duplicate pcm id Signed-off-by: Wu, BinX <binx.wu@intel.com>
Contributor
Author
The root cause is by typo, because we current use |
stripes416
approved these changes
Feb 25, 2020
stripes416
left a comment
Contributor
There was a problem hiding this comment.
Works on apl-up2-nocodec. LGTM
kledford@apl-up2-nocodec:~/sof-test/test-case$ ./simultaneous-playback-capture.sh
2020-02-25 18:17:47 UTC [INFO] ./simultaneous-playback-capture.sh using /lib/firmware/intel/sof-tplg/sof-apl-nocodec.tplg as target TPLG to run the test case
2020-02-25 18:17:47 UTC [INFO] Catch block option from TPLG_BLOCK_LST will block 'pcm=HDA Digital,Media Playback,DMIC16k' for /lib/firmware/intel/sof-tplg/sof-apl-nocodec.tplg
2020-02-25 18:17:47 UTC [INFO] Run command: 'sof-tplgreader.py /lib/firmware/intel/sof-tplg/sof-apl-nocodec.tplg -f id:0,1,3,5 -b pcm:'HDA Digital,Media Playback,DMIC16k' -s 0 -e' to get BASH Array
2020-02-25 18:17:47 UTC [INFO] Testing: (Loop: 1/1)
2020-02-25 18:17:48 UTC [COMMAND] aplay -D hw:0,0 -c 2 -r 48000 -f S16_LE /dev/zero -q &
2020-02-25 18:17:48 UTC [COMMAND] arecord -D hw:0,0 -c 2 -r 48000 -f S16_LE /dev/null -q &
2020-02-25 18:17:48 UTC [INFO] Preparing to sleep for 5
2020-02-25 18:17:53 UTC [INFO] check pipeline after 5s
2020-02-25 18:17:53 UTC [COMMAND] killing all pipelines
2020-02-25 18:17:53 UTC [COMMAND] aplay -D hw:0,1 -c 2 -r 48000 -f S16_LE /dev/zero -q &
2020-02-25 18:17:53 UTC [COMMAND] arecord -D hw:0,1 -c 2 -r 48000 -f S16_LE /dev/null -q &
2020-02-25 18:17:53 UTC [INFO] Preparing to sleep for 5
2020-02-25 18:17:58 UTC [INFO] check pipeline after 5s
2020-02-25 18:17:58 UTC [COMMAND] killing all pipelines
2020-02-25 18:17:58 UTC [COMMAND] aplay -D hw:0,3 -c 2 -r 48000 -f S16_LE /dev/zero -q &
2020-02-25 18:17:58 UTC [COMMAND] arecord -D hw:0,3 -c 2 -r 48000 -f S16_LE /dev/null -q &
2020-02-25 18:17:58 UTC [INFO] Preparing to sleep for 5
2020-02-25 18:18:03 UTC [INFO] check pipeline after 5s
2020-02-25 18:18:03 UTC [COMMAND] killing all pipelines
2020-02-25 18:18:03 UTC [COMMAND] aplay -D hw:0,5 -c 2 -r 48000 -f S16_LE /dev/zero -q &
2020-02-25 18:18:03 UTC [COMMAND] arecord -D hw:0,5 -c 2 -r 48000 -f S16_LE /dev/null -q &
2020-02-25 18:18:03 UTC [INFO] Preparing to sleep for 5
2020-02-25 18:18:08 UTC [INFO] check pipeline after 5s
2020-02-25 18:18:08 UTC [COMMAND] killing all pipelines
2020-02-25 18:18:09 UTC [INFO] Test Result: PASS!
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.
Need to split both type pipeline into playback and capture
Change both keyword into check duplicate pcm id
Wait patch sof-test: split both type pipeline into playback and capture can be merge this PR
Because without that change, this pr couldn't worked
Signed-off-by: Wu, BinX binx.wu@intel.com