Remove color output from tests

This commit is contained in:
Alexey Rybalchenko 2016-05-30 12:36:55 +02:00 committed by Mohammad Al-Turany
parent fd09321fd9
commit eb306a2c0d
7 changed files with 14 additions and 0 deletions

View File

@ -21,6 +21,8 @@ int main(int /*argc*/, char** /*argv*/)
testPub.CatchSignals(); testPub.CatchSignals();
testPub.SetTransport("zeromq"); testPub.SetTransport("zeromq");
reinit_logger(false);
testPub.SetProperty(FairMQTestPub::Id, "testPub"); testPub.SetProperty(FairMQTestPub::Id, "testPub");
FairMQChannel controlChannel("pull", "bind", "tcp://127.0.0.1:5555"); FairMQChannel controlChannel("pull", "bind", "tcp://127.0.0.1:5555");

View File

@ -23,6 +23,8 @@ int main(int /*argc*/, char** /*argv*/)
testSub.CatchSignals(); testSub.CatchSignals();
testSub.SetTransport("zeromq"); testSub.SetTransport("zeromq");
reinit_logger(false);
testSub.SetProperty(FairMQTestSub::Id, "testSub_" + std::to_string(getpid())); testSub.SetProperty(FairMQTestSub::Id, "testSub_" + std::to_string(getpid()));
FairMQChannel controlChannel("push", "connect", "tcp://127.0.0.1:5555"); FairMQChannel controlChannel("push", "connect", "tcp://127.0.0.1:5555");

View File

@ -21,6 +21,8 @@ int main(int /*argc*/, char** /*argv*/)
testPull.CatchSignals(); testPull.CatchSignals();
testPull.SetTransport("zeromq"); testPull.SetTransport("zeromq");
reinit_logger(false);
testPull.SetProperty(FairMQTestPull::Id, "testPull"); testPull.SetProperty(FairMQTestPull::Id, "testPull");
FairMQChannel pullChannel("pull", "connect", "tcp://127.0.0.1:5557"); FairMQChannel pullChannel("pull", "connect", "tcp://127.0.0.1:5557");

View File

@ -21,6 +21,8 @@ int main(int /*argc*/, char** /*argv*/)
testPush.CatchSignals(); testPush.CatchSignals();
testPush.SetTransport("zeromq"); testPush.SetTransport("zeromq");
reinit_logger(false);
testPush.SetProperty(FairMQTestPush::Id, "testPush"); testPush.SetProperty(FairMQTestPush::Id, "testPush");
FairMQChannel pushChannel("push", "bind", "tcp://127.0.0.1:5557"); FairMQChannel pushChannel("push", "bind", "tcp://127.0.0.1:5557");

View File

@ -23,6 +23,8 @@ int main(int /*argc*/, char** /*argv*/)
testRep.CatchSignals(); testRep.CatchSignals();
testRep.SetTransport("zeromq"); testRep.SetTransport("zeromq");
reinit_logger(false);
testRep.SetProperty(FairMQTestRep::Id, "testRep"); testRep.SetProperty(FairMQTestRep::Id, "testRep");
FairMQChannel repChannel("rep", "bind", "tcp://127.0.0.1:5558"); FairMQChannel repChannel("rep", "bind", "tcp://127.0.0.1:5558");

View File

@ -23,6 +23,8 @@ int main(int /*argc*/, char** /*argv*/)
testReq.CatchSignals(); testReq.CatchSignals();
testReq.SetTransport("zeromq"); testReq.SetTransport("zeromq");
reinit_logger(false);
testReq.SetProperty(FairMQTestReq::Id, "testReq" + std::to_string(getpid())); testReq.SetProperty(FairMQTestReq::Id, "testReq" + std::to_string(getpid()));
FairMQChannel reqChannel("req", "connect", "tcp://127.0.0.1:5558"); FairMQChannel reqChannel("req", "connect", "tcp://127.0.0.1:5558");

View File

@ -93,6 +93,8 @@ int main(int /*argc*/, char** /*argv*/)
timeoutTester.CatchSignals(); timeoutTester.CatchSignals();
timeoutTester.SetTransport("zeromq"); timeoutTester.SetTransport("zeromq");
reinit_logger(false);
timeoutTester.SetProperty(TransferTimeoutTester::Id, "timeoutTester"); timeoutTester.SetProperty(TransferTimeoutTester::Id, "timeoutTester");
FairMQChannel dataOutChannel; FairMQChannel dataOutChannel;