1
0
mirror of http://mpg123.de/trunk/.git synced 2025-04-19 16:02:16 +03:00
mpg123/scripts/test-static-modules.sh
thor db32e632a1 Sync inline scripts for current module list; prevent win32_wasapi from occuring in configure output unconditionally.
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
2013-09-29 15:07:52 +00:00

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