mirror of
http://mpg123.de/trunk/.git
synced 2025-04-19 16:02:16 +03:00
The test script just tries to build all supported modules into a static output each; providing some testing for the more rare configuration. git-svn-id: svn://scm.orgis.org/mpg123/trunk@3423 35dc7657-300d-0410-a2e5-dc2837fedb53
13 lines
393 B
Bash
13 lines
393 B
Bash
#!/bin/bash
|
|
# test if build of supported modules works when linking in fixed one
|
|
modlist=$(./configure | perl -ne 'print $1 if /Detected audio support \.*\s*(.*)$/')
|
|
errsum=0
|
|
for m in $modlist
|
|
do
|
|
echo "==== testing $m ===="
|
|
make clean
|
|
# You can provide -j to speed things up.
|
|
./configure --with-audio=$m --disable-modules && make "$@" || exit 1
|
|
echo "==== success with $m ===="
|
|
done
|