mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
Test exceptions thrown in user code
This commit is contained in:
committed by
Dennis Klein
parent
bde12f58b2
commit
e39316c866
@@ -18,6 +18,7 @@
|
||||
#include "devices/TestSub.cxx"
|
||||
#include "devices/TestTransferTimeout.cxx"
|
||||
#include "devices/TestWaitFor.cxx"
|
||||
#include "devices/TestExceptions.cxx"
|
||||
|
||||
#include <runFairMQDevice.h>
|
||||
|
||||
@@ -87,6 +88,10 @@ auto getDevice(const FairMQProgOptions& config) -> FairMQDevicePtr
|
||||
{
|
||||
return new TestWaitFor;
|
||||
}
|
||||
else if (0 == id.find("exceptions_"))
|
||||
{
|
||||
return new TestExceptions;
|
||||
}
|
||||
else
|
||||
{
|
||||
cerr << "Don't know id '" << id << "'" << endl;
|
||||
|
Reference in New Issue
Block a user