mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
tests: fix debugging levels
This commit is contained in:
parent
cdc6ff60ed
commit
6338e2fa6e
3 changed files with 3 additions and 8 deletions
|
@ -34,9 +34,6 @@ for VECTORIZE in 1 5 25; do
|
|||
|
||||
cat > ${CONFIG_FILE} << EOF
|
||||
{
|
||||
"logging" : {
|
||||
"level" : 2
|
||||
},
|
||||
"nodes" : {
|
||||
"node1" : {
|
||||
"type" : "shmem",
|
||||
|
|
|
@ -99,7 +99,7 @@ cat > ${CONFIG_FILE} << EOF
|
|||
}
|
||||
EOF
|
||||
|
||||
villas-pipe -d debug -l ${NUM_SAMPLES} ${CONFIG_FILE} node1 < ${INPUT_FILE} > ${OUTPUT_FILE}
|
||||
villas-pipe -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
|
||||
|
|
|
@ -35,7 +35,6 @@ NUM_SAMPLES=${NUM_SAMPLES:-100}
|
|||
|
||||
cat > ${CONFIG_FILE} << EOF
|
||||
{
|
||||
"logging" : { "level" : 15 },
|
||||
"nodes" : {
|
||||
"node1" : {
|
||||
"type" : "websocket",
|
||||
|
@ -53,7 +52,6 @@ cat > ${CONFIG_FILE2} << EOF
|
|||
"http" : {
|
||||
"port" : 8080
|
||||
},
|
||||
"logging" : { "level" : 15 },
|
||||
"nodes" : {
|
||||
"node2" : {
|
||||
"type" : "websocket"
|
||||
|
@ -67,12 +65,12 @@ VILLAS_LOG_PREFIX=$(colorize "[Signal]") \
|
|||
villas-signal -l ${NUM_SAMPLES} -n random > ${INPUT_FILE}
|
||||
|
||||
VILLAS_LOG_PREFIX=$(colorize "[Recv] ") \
|
||||
villas-pipe -r -d debug -l ${NUM_SAMPLES} ${CONFIG_FILE2} node2 | tee ${OUTPUT_FILE} &
|
||||
villas-pipe -r -l ${NUM_SAMPLES} ${CONFIG_FILE2} node2 | tee ${OUTPUT_FILE} &
|
||||
|
||||
sleep 1
|
||||
|
||||
VILLAS_LOG_PREFIX=$(colorize "[Send] ") \
|
||||
villas-pipe -s -d debug ${CONFIG_FILE} node1 < <(sleep 1; cat ${INPUT_FILE})
|
||||
villas-pipe -s ${CONFIG_FILE} node1 < <(sleep 1; cat ${INPUT_FILE})
|
||||
|
||||
wait $!
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue