1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00
VILLASnode/tests/integration/test-config.sh
Alexandra b39e4a0ace feat: new smu node-type
Signed-off-by: Alexandra <alexandra.bach@eonerc.rwth-aachen.de>
2025-01-14 14:42:39 +00:00

29 lines
951 B
Bash
Executable file

#!/usr/bin/env bash
#
# Test example configurations
#
# Author: Steffen Vogel <post@steffenvogel.de>
# SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University
# SPDX-License-Identifier: Apache-2.0
set -e
CONFIGS=$(find ${SRCDIR}/etc/ -name '*.conf' -o -name '*.json')
for CONFIG in ${CONFIGS}; do
if [ "$(basename ${CONFIG})" == "opal.conf" ] ||
[ "$(basename ${CONFIG})" == "fpga.conf" ] ||
[ "$(basename ${CONFIG})" == "paths.conf" ] ||
[ "$(basename ${CONFIG})" == "tricks.json" ] ||
[ "$(basename ${CONFIG})" == "tricks.conf" ] ||
[ "$(basename ${CONFIG})" == "vc707_ips.conf" ] ||
[ "$(basename ${CONFIG})" == "infiniband.conf" ] ||
[ "$(basename ${CONFIG})" == "global.conf" ]; then
echo "=== Skipping config: ${CONFIG}"
continue
fi
echo "=== Testing config: ${CONFIG}"
villas test-config -c ${CONFIG}
done