1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

tests: fix debug levels

This commit is contained in:
Steffen Vogel 2018-12-02 03:06:34 +01:00
parent 8a5aba08f4
commit ccd53ab350
2 changed files with 3 additions and 3 deletions

View file

@ -99,7 +99,7 @@ cat > ${CONFIG_FILE} << EOF
}
EOF
villas-pipe -d DEBUG -l ${NUM_SAMPLES} ${CONFIG_FILE} node1 < ${INPUT_FILE}
villas-pipe -d debug -l ${NUM_SAMPLES} ${CONFIG_FILE} node1 < ${INPUT_FILE} > ${OUTPUT_FILE}
# Ignore timestamp and seqeunce no if in raw format
if ! villas_format_supports_header $FORMAT; then

View file

@ -67,12 +67,12 @@ VILLAS_LOG_PREFIX=$(colorize "[Signal]") \
villas-signal -l ${NUM_SAMPLES} -n random > ${INPUT_FILE}
VILLAS_LOG_PREFIX=$(colorize "[Recv] ") \
villas-pipe -r -d 15 -l ${NUM_SAMPLES} ${CONFIG_FILE2} node2 | tee ${OUTPUT_FILE} &
villas-pipe -r -d debug -l ${NUM_SAMPLES} ${CONFIG_FILE2} node2 | tee ${OUTPUT_FILE} &
sleep 1
VILLAS_LOG_PREFIX=$(colorize "[Send] ") \
villas-pipe -s -d 15 ${CONFIG_FILE} node1 < <(sleep 1; cat ${INPUT_FILE})
villas-pipe -s -d debug ${CONFIG_FILE} node1 < <(sleep 1; cat ${INPUT_FILE})
wait $!