mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 17:41:45 +00:00
Run FairMQ tests with both ZeroMQ and nanomsg
This commit is contained in:
@@ -15,11 +15,18 @@
|
||||
#include "FairMQLogger.h"
|
||||
#include "FairMQTestPull.h"
|
||||
|
||||
int main(int /*argc*/, char** /*argv*/)
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
FairMQTestPull testPull;
|
||||
testPull.CatchSignals();
|
||||
testPull.SetTransport("zeromq");
|
||||
if (argc == 2)
|
||||
{
|
||||
testPull.SetTransport(argv[1]);
|
||||
}
|
||||
else
|
||||
{
|
||||
testPull.SetTransport("zeromq");
|
||||
}
|
||||
|
||||
reinit_logger(false);
|
||||
|
||||
|
Reference in New Issue
Block a user