Disable irrelevant output in tests to workaround output scrambling on MacOS 10.11

This commit is contained in:
Alexey Rybalchenko 2017-11-30 17:05:38 +01:00 committed by Mohammad Al-Turany
parent e9486a0573
commit 21fc10d3de
7 changed files with 12 additions and 0 deletions

View File

@ -7,6 +7,7 @@ trap 'kill -TERM $SAMPLER_PID; kill -TERM $SINK_PID; wait $SAMPLER_PID; wait $SI
SAMPLER="ex1-sampler" SAMPLER="ex1-sampler"
SAMPLER+=" --id sampler1" SAMPLER+=" --id sampler1"
SAMPLER+=" --verbosity NOLOG"
SAMPLER+=" --control static --log-color false" SAMPLER+=" --control static --log-color false"
SAMPLER+=" --max-iterations 1" SAMPLER+=" --max-iterations 1"
SAMPLER+=" --mq-config $ex1config" SAMPLER+=" --mq-config $ex1config"

View File

@ -7,6 +7,7 @@ trap 'kill -TERM $SAMPLER_PID; kill -TERM $SINK_PID; kill -TERM $PROCESSOR1_PID;
SAMPLER="ex2-sampler" SAMPLER="ex2-sampler"
SAMPLER+=" --id sampler1" SAMPLER+=" --id sampler1"
SAMPLER+=" --verbosity NOLOG"
SAMPLER+=" --control static --log-color false" SAMPLER+=" --control static --log-color false"
SAMPLER+=" --max-iterations 2" SAMPLER+=" --max-iterations 2"
SAMPLER+=" --mq-config $ex2config" SAMPLER+=" --mq-config $ex2config"
@ -15,6 +16,7 @@ SAMPLER_PID=$!
PROCESSOR1="ex2-processor" PROCESSOR1="ex2-processor"
PROCESSOR1+=" --id processor1" PROCESSOR1+=" --id processor1"
PROCESSOR1+=" --verbosity NOLOG"
PROCESSOR1+=" --control static --log-color false" PROCESSOR1+=" --control static --log-color false"
PROCESSOR1+=" --mq-config $ex2config" PROCESSOR1+=" --mq-config $ex2config"
PROCESSOR1+=" --config-key processor" PROCESSOR1+=" --config-key processor"
@ -23,6 +25,7 @@ PROCESSOR1_PID=$!
PROCESSOR2="ex2-processor" PROCESSOR2="ex2-processor"
PROCESSOR2+=" --id processor2" PROCESSOR2+=" --id processor2"
PROCESSOR2+=" --verbosity NOLOG"
PROCESSOR2+=" --control static --log-color false" PROCESSOR2+=" --control static --log-color false"
PROCESSOR2+=" --mq-config $ex2config" PROCESSOR2+=" --mq-config $ex2config"
PROCESSOR2+=" --config-key processor" PROCESSOR2+=" --config-key processor"

View File

@ -7,6 +7,7 @@ trap 'kill -TERM $SAMPLER_PID; kill -TERM $SINK1_PID; kill -TERM $SINK2_PID; wai
SAMPLER="ex4-sampler" SAMPLER="ex4-sampler"
SAMPLER+=" --id sampler1" SAMPLER+=" --id sampler1"
SAMPLER+=" --verbosity NOLOG"
SAMPLER+=" --control static --log-color false" SAMPLER+=" --control static --log-color false"
SAMPLER+=" --max-iterations 1" SAMPLER+=" --max-iterations 1"
SAMPLER+=" --mq-config $ex4config" SAMPLER+=" --mq-config $ex4config"
@ -15,6 +16,7 @@ SAMPLER_PID=$!
SINK1="ex4-sink" SINK1="ex4-sink"
SINK1+=" --id sink1" SINK1+=" --id sink1"
SINK1+=" --verbosity NOLOG"
SINK1+=" --control static --log-color false" SINK1+=" --control static --log-color false"
SINK1+=" --max-iterations 1" SINK1+=" --max-iterations 1"
SINK1+=" --mq-config $ex4config" SINK1+=" --mq-config $ex4config"

View File

@ -15,6 +15,7 @@ CLIENT_PID=$!
SERVER="ex5-server" SERVER="ex5-server"
SERVER+=" --id server" SERVER+=" --id server"
SERVER+=" --verbosity NOLOG"
SERVER+=" --control static --log-color false" SERVER+=" --control static --log-color false"
SERVER+=" --max-iterations 1" SERVER+=" --max-iterations 1"
SERVER+=" --mq-config $ex5config" SERVER+=" --mq-config $ex5config"

View File

@ -17,6 +17,7 @@ sleep 1
SAMPLER="ex6-sampler" SAMPLER="ex6-sampler"
SAMPLER+=" --id sampler1" SAMPLER+=" --id sampler1"
SAMPLER+=" --verbosity NOLOG"
SAMPLER+=" --max-iterations 1" SAMPLER+=" --max-iterations 1"
SAMPLER+=" --control static --log-color false" SAMPLER+=" --control static --log-color false"
SAMPLER+=" --mq-config $ex6config" SAMPLER+=" --mq-config $ex6config"
@ -25,6 +26,7 @@ SAMPLER_PID=$!
BROADCASTER="ex6-broadcaster" BROADCASTER="ex6-broadcaster"
BROADCASTER+=" --id broadcaster1" BROADCASTER+=" --id broadcaster1"
BROADCASTER+=" --verbosity NOLOG"
BROADCASTER+=" --control static --log-color false" BROADCASTER+=" --control static --log-color false"
BROADCASTER+=" --mq-config $ex6config" BROADCASTER+=" --mq-config $ex6config"
@CMAKE_BINARY_DIR@/bin/examples/MQ/6-multiple-channels/$BROADCASTER & @CMAKE_BINARY_DIR@/bin/examples/MQ/6-multiple-channels/$BROADCASTER &

View File

@ -6,6 +6,7 @@ trap 'kill -TERM $SAMPLER_PID; kill -TERM $SINK_PID; wait $SAMPLER_PID; wait $SI
SAMPLER="ex8-sampler" SAMPLER="ex8-sampler"
SAMPLER+=" --id sampler1" SAMPLER+=" --id sampler1"
SAMPLER+=" --verbosity NOLOG"
SAMPLER+=" --max-iterations 1" SAMPLER+=" --max-iterations 1"
SAMPLER+=" --control static --log-color false" SAMPLER+=" --control static --log-color false"
SAMPLER+=" --mq-config $ex8config" SAMPLER+=" --mq-config $ex8config"

View File

@ -17,6 +17,7 @@ SINK_PID=$!
SAMPLER1="ex-mt-sampler1" SAMPLER1="ex-mt-sampler1"
SAMPLER1+=" --id sampler1" SAMPLER1+=" --id sampler1"
SAMPLER1+=" --session $SESSION" SAMPLER1+=" --session $SESSION"
SAMPLER1+=" --verbosity NOLOG"
SAMPLER1+=" --max-iterations 1" SAMPLER1+=" --max-iterations 1"
SAMPLER1+=" --control static --log-color false" SAMPLER1+=" --control static --log-color false"
SAMPLER1+=" --transport shmem" SAMPLER1+=" --transport shmem"
@ -27,6 +28,7 @@ SAMPLER1_PID=$!
SAMPLER2="ex-mt-sampler2" SAMPLER2="ex-mt-sampler2"
SAMPLER2+=" --id sampler2" SAMPLER2+=" --id sampler2"
SAMPLER2+=" --session $SESSION" SAMPLER2+=" --session $SESSION"
SAMPLER2+=" --verbosity NOLOG"
SAMPLER2+=" --max-iterations 1" SAMPLER2+=" --max-iterations 1"
SAMPLER2+=" --control static --log-color false" SAMPLER2+=" --control static --log-color false"
SAMPLER2+=" --transport nanomsg" SAMPLER2+=" --transport nanomsg"