Skip to content

Commit 25cb88c

Browse files
committed
DPL: add DDS plugin loading to DDS configuration
1 parent 5839a28 commit 25cb88c

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Framework/Core/src/DDSConfigHelpers.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ dumpDeviceSpec2DDS(std::ostream &out,
4545
}
4646
out << arg << " ";
4747
}
48+
out << "--plugin-search-path $FAIRMQ_ROOT/lib --plugin dds";
4849
out << "</exe>\n";
4950
out << " </decltask>\n";
5051
}

Framework/Core/test/test_FrameworkDataFlowToDDS.cxx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,16 +86,16 @@ BOOST_AUTO_TEST_CASE(TestGraphviz)
8686
dumpDeviceSpec2DDS(ss, devices, executions);
8787
BOOST_CHECK_EQUAL(ss.str(), R"EXPECTED(<topology id="o2-dataflow">
8888
<decltask id="A">
89-
<exe reachable="true">foo --id A --control static --log-color false --color false --jobs 4 </exe>
89+
<exe reachable="true">foo --id A --control static --log-color false --color false --jobs 4 --plugin-search-path $FAIRMQ_ROOT/lib --plugin dds</exe>
9090
</decltask>
9191
<decltask id="B">
92-
<exe reachable="true">foo --id B --control static --log-color false --color false --jobs 4 </exe>
92+
<exe reachable="true">foo --id B --control static --log-color false --color false --jobs 4 --plugin-search-path $FAIRMQ_ROOT/lib --plugin dds</exe>
9393
</decltask>
9494
<decltask id="C">
95-
<exe reachable="true">foo --id C --control static --log-color false --color false --jobs 4 </exe>
95+
<exe reachable="true">foo --id C --control static --log-color false --color false --jobs 4 --plugin-search-path $FAIRMQ_ROOT/lib --plugin dds</exe>
9696
</decltask>
9797
<decltask id="D">
98-
<exe reachable="true">foo --id D --control static --log-color false --color false --jobs 4 </exe>
98+
<exe reachable="true">foo --id D --control static --log-color false --color false --jobs 4 --plugin-search-path $FAIRMQ_ROOT/lib --plugin dds</exe>
9999
</decltask>
100100
</topology>
101101
)EXPECTED");

0 commit comments

Comments
 (0)