add basic tests
This commit is contained in:
parent
7c33e3c1a6
commit
efbf088724
10
tests/run_tests.sh
Executable file
10
tests/run_tests.sh
Executable file
@ -0,0 +1,10 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -ex
|
||||||
|
|
||||||
|
# a quick PCM API test
|
||||||
|
str=$(aplay -L | grep -E "^null$")
|
||||||
|
if [ "$str" != "null" ]; then
|
||||||
|
echo "The 'null' pcm plugin was not found!"
|
||||||
|
exit 99
|
||||||
|
fi
|
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:
|
||||||
|
- alsa-utils
|
||||||
|
tests:
|
||||||
|
- simple:
|
||||||
|
dir: .
|
||||||
|
run: ./run_tests.sh
|
Loading…
Reference in New Issue
Block a user