mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
tests: further simplifications
This commit is contained in:
parent
600842eff1
commit
0348749de6
2 changed files with 4 additions and 6 deletions
2
common
2
common
|
@ -1 +1 @@
|
|||
Subproject commit 5d1a82c84822881033c4dddb4dd3017a26ec544e
|
||||
Subproject commit 40ac360c5f00a923c77cebf9b016565863e5bf3d
|
|
@ -39,7 +39,6 @@ villas-signal -v ${NUM_VALUES} -l ${NUM_SAMPLES} -n random > ${INPUT_FILE}
|
|||
|
||||
for FORMAT in villas.human gtnet.fake protobuf; do
|
||||
for LAYER in udp ip eth unix; do
|
||||
for VERIFY_SOURCE in true false; do
|
||||
|
||||
VECTORIZES="1"
|
||||
|
||||
|
@ -88,7 +87,6 @@ cat > ${CONFIG_FILE} << EOF
|
|||
},
|
||||
"in" : {
|
||||
"address" : "${LOCAL}",
|
||||
"verify_source" : ${VERIFY_SOURCE},
|
||||
"signals" : {
|
||||
"count" : ${NUM_VALUES},
|
||||
"type" : "float"
|
||||
|
@ -111,7 +109,7 @@ villas-test-cmp ${CMPFLAGS} ${INPUT_FILE} ${OUTPUT_FILE}
|
|||
RC=$?
|
||||
|
||||
if (( ${RC} != 0 )); then
|
||||
echo "=========== Sub-test failed for: format=${FORMAT}, layer=${LAYER}, verify_source=${VERIFY_SOURCE}, vectorize=${VECTORIZE}"
|
||||
echo "=========== Sub-test failed for: format=${FORMAT}, layer=${LAYER}, vectorize=${VECTORIZE}"
|
||||
echo "Config:"
|
||||
cat ${CONFIG_FILE}
|
||||
echo
|
||||
|
@ -122,10 +120,10 @@ if (( ${RC} != 0 )); then
|
|||
cat ${OUTPUT_FILE}
|
||||
exit ${RC}
|
||||
else
|
||||
echo "=========== Sub-test succeeded for: format=${FORMAT}, layer=${LAYER}, verify_source=${VERIFY_SOURCE}, vectorize=${VECTORIZE}"
|
||||
echo "=========== Sub-test succeeded for: format=${FORMAT}, layer=${LAYER}, vectorize=${VECTORIZE}"
|
||||
fi
|
||||
|
||||
done; done; done; done
|
||||
done; done; done
|
||||
|
||||
rm ${OUTPUT_FILE} ${INPUT_FILE} ${CONFIG_FILE} ${THEORIES}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue