mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
tests: fix script for testing example configurations
This commit is contained in:
parent
e0502a929e
commit
fe26cad193
1 changed files with 11 additions and 1 deletions
|
@ -25,8 +25,18 @@
|
|||
|
||||
set -e
|
||||
|
||||
CONFIGS=$(find ${SRCDIR}/etc/ -name '*.conf' -o -name '*.json')
|
||||
cd ${SRCDIR}/etc/
|
||||
|
||||
CONFIGS=$(find . -name '*.conf' -o -name '*.json')
|
||||
|
||||
for CONFIG in ${CONFIGS}; do
|
||||
if [ "$(basename ${CONFIG})" == "opal.conf" ] ||
|
||||
[ "$(basename ${CONFIG})" == "paths.conf" ] ||
|
||||
[ "$(basename ${CONFIG})" == "global.conf" ]; then
|
||||
echo "=== Skipping config: ${CONFIG}"
|
||||
continue
|
||||
fi
|
||||
|
||||
echo "=== Testing config: ${CONFIG}"
|
||||
villas-config-check ${CONFIG}
|
||||
done
|
||||
|
|
Loading…
Add table
Reference in a new issue