add simple tests
This commit is contained in:
parent
b31e35e333
commit
688a0502e4
12
tests/run_tests.sh
Executable file
12
tests/run_tests.sh
Executable file
@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -ex
|
||||||
|
|
||||||
|
# create patest user
|
||||||
|
adduser patest
|
||||||
|
|
||||||
|
# run pulseaudio daemon
|
||||||
|
su - patest -c "pulseaudio --start --log-target=stderr"
|
||||||
|
|
||||||
|
# run pulseaudio test (null sink)
|
||||||
|
su - patest -c "speaker-test -D pulse -l 1"
|
11
tests/tests.yml
Normal file
11
tests/tests.yml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
- hosts: localhost
|
||||||
|
roles:
|
||||||
|
- role: standard-test-basic
|
||||||
|
tags:
|
||||||
|
- classic
|
||||||
|
required_packages:
|
||||||
|
- pulseaudio
|
||||||
|
tests:
|
||||||
|
- simple:
|
||||||
|
dir: .
|
||||||
|
run: ./run_tests.sh
|
Loading…
Reference in New Issue
Block a user