mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-16 10:01:47 +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
9
fairmq/test/test-fairmq-push-pull.sh.in
Executable file
9
fairmq/test/test-fairmq-push-pull.sh.in
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
trap 'kill -TERM $PUSH_PID; kill -TERM $PULL_PID; wait $PUSH_PID; wait $PULL_PID;' TERM
|
||||
@CMAKE_BINARY_DIR@/bin/test-fairmq-push &
|
||||
PUSH_PID=$!
|
||||
@CMAKE_BINARY_DIR@/bin/test-fairmq-pull &
|
||||
PULL_PID=$!
|
||||
wait $PUSH_PID
|
||||
wait $PULL_PID
|
Reference in New Issue
Block a user