Files
qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/Proxies/Buildings/BuildingControlUnit/VWM/BuildingControlTestVwmXml.sh
T

58 lines
773 B
Bash
Executable File

#!/bin/sh
rm -v /shd/CTC/LOG/ctc_bcu_1.log*
BLDGS="1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1114 1115 1116 1117 1285 1286 1287 2119 3100 3101 3102 3279 3280 3298 3299 3300 4102 4197 4198 BN_Kanaele U_Bahn"
numOk=0;
numFailure=0;
for BLDG in ${BLDGS}
do
/shd/CTC/TOOLS/TDS/TDS-build/bin/BuildingControlTestVwmXml /opt/BuildingModels/StaticMeshes/bldg_${BLDG}.flt.xml /opt/BuildingModels/StaticMeshes/bldg_${BLDG}.flt.VWM_Building.xml
if [ $? -eq 0 ];
then
echo "'$BLDG' okay";
((numOk=numOk+1))
else
echo " failure on -> '$BLDG' ";
((numFailure=numFailure+1))
fi
echo "grep for '$BLDG':";
grep WARN /shd/CTC/LOG/ctc_bcu_1.log* | grep $BLDG
done
echo " numOk = $numOk ";
echo " numFailure = $numFailure ";