Run FairMQ tests with both ZeroMQ and nanomsg

This commit is contained in:
Alexey Rybalchenko
2016-05-31 10:19:32 +02:00
parent eb306a2c0d
commit 7062a3d280
11 changed files with 120 additions and 34 deletions

View File

@@ -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);