File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Runner/suites/Multimedia/Audio Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 66# Import test suite definitions
77# shellcheck source=../../../../init_env
88. " ${PWD} " /init_env
9- TESTNAME=" audio_playback_test "
9+ TESTNAME=" AudioPlayback "
1010TESTBINARY=" paplay"
11+ TAR_URL=" https://github.com/qualcomm-linux/qcom-linux-testkit/releases/download/Pulse-Audio-Files-v1.0/AudioClips.tar.gz"
1112
1213# Global variable to hold PIDs to be killed at the end of the test
1314KILLPID=" "
@@ -22,11 +23,10 @@ log_info "-------------------Starting $TESTNAME Testcase------------------------
2223
2324log_info " Checking if dependency binary is available"
2425check_dependencies " $TESTBINARY "
25- check_network_status
2626
27- extract_tar_from_url https://github.com/qualcomm-linux/qcom-linux-testkit/releases/download/Pulse-Audio-Files-v1.0/AudioClips.tar.gz
27+ extract_tar_from_url " $TAR_URL "
2828
29- lscontent=$( ls ./suites/Multimedia/Audio/AudioPlayback/ )
29+ lscontent=$( ls " ${PWD} " /AudioClips )
3030case " $lscontent " in
3131 * yesterday_48KHz.wav* ) log_info " Playback clip downloaded" ;;
3232 * ) log_info " Playback clip not downloaded" ;;
@@ -45,7 +45,7 @@ dmesg -w > results/audiotestresult/dmesg_log.txt &
4545KILLPID=" $KILLPID $! "
4646
4747# Start the Playback
48- paplay ./suites/Multimedia/Audio/AudioPlayback /yesterday_48KHz.wav -d low-latency0 &
48+ paplay " ${PWD} " /AudioClips /yesterday_48KHz.wav -d low-latency0 &
4949PID=$!
5050KILLPID=" $KILLPID $! "
5151sleep 10
Original file line number Diff line number Diff line change 66# Import test suite definitions
77# shellcheck source=../../../../init_env
88. " ${PWD} " /init_env
9- TESTNAME=" audio_record_test "
9+ TESTNAME=" AudioRecord "
1010TESTBINARY=" parec"
1111
1212# Global variable to hold PIDs to be killed at the end of the test
You can’t perform that action at this time.
0 commit comments