mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-16 01:51:45 +00:00
Add FairMQ tests (PUB-SUB, PUSH-PULL, REQ-REP).
This commit is contained in:
committed by
Mohammad Al-Turany
parent
fbf7dbf2ba
commit
f13bb5995d
12
fairmq/test/test-fairmq-pub-sub.sh.in
Executable file
12
fairmq/test/test-fairmq-pub-sub.sh.in
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
trap 'kill -TERM $PUB_PID; kill -TERM $SUB1_PID; kill -TERM $SUB2_PID; wait $PUB_PID; wait $SUB1_PID; wait $SUB2_PID;' TERM
|
||||
@CMAKE_BINARY_DIR@/bin/test-fairmq-pub &
|
||||
PUB_PID=$!
|
||||
@CMAKE_BINARY_DIR@/bin/test-fairmq-sub &
|
||||
SUB1_PID=$!
|
||||
@CMAKE_BINARY_DIR@/bin/test-fairmq-sub &
|
||||
SUB2_PID=$!
|
||||
wait $PUB_PID
|
||||
wait $SUB1_PID
|
||||
wait $SUB2_PID
|
Reference in New Issue
Block a user