Skip to content

Commit

Permalink
Moved testing plugin path
Browse files Browse the repository at this point in the history
  • Loading branch information
vines26 committed Mar 18, 2024
1 parent ca65e67 commit b37f760
Show file tree
Hide file tree
Showing 9 changed files with 81 additions and 591 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ if(NOT ANDROID)
add_subdirectory(app/race-cli)
add_subdirectory(test/common/UnifiedTestStub EXCLUDE_FROM_ALL)
add_subdirectory(test/common/DecomposedTestStub EXCLUDE_FROM_ALL)
add_subdirectory(test/common/plugins/myOS/myArch/DecomposedTestImplementation EXCLUDE_FROM_ALL)
add_subdirectory(test/common/plugins/DecomposedTestImplementation EXCLUDE_FROM_ALL)
add_subdirectory(test/source EXCLUDE_FROM_ALL)
endif()

Expand All @@ -63,4 +63,4 @@ install(
install(
EXPORT raceboat
DESTINATION lib/cmake
)
)
1 change: 1 addition & 0 deletions source/FileSystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ std::vector<fs::path> FileSystem::listInstalledPluginDirs() {

fs::path FileSystem::makePluginInstallBasePath() {
fs::path basePath = pluginsInstallPath;
helper::logInfo("makePluginInstallBasePath: basePath: " + basePath.string());
// Previously:
// pluginsInstallPath / "plugins" / getHostOsType() / getHostArch();
createDirectories(basePath);
Expand Down
69 changes: 66 additions & 3 deletions test/common/DecomposedTestStub/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"plugin_type": "comms",
"file_type": "shared_library",
"node_type": "any",
"shared_library_path": "DecomposedTestEncoding.so",
"encodings": ["DecomposedTestEncoding"]
"shared_library_path": "DecomposedTestStubEncoding.so",
"encodings": ["DecomposedTestStubEncoding"]
},
{
"file_path": "DecomposedTestStub",
Expand All @@ -25,12 +25,75 @@
"transports": ["DecomposedTestTransport"]
}
],
"channel_properties":{
"DecomposedTestStub": {
"bootstrap": false,
"channelGid": "DecomposedTestStub",
"connectionType": "CT_INDIRECT",
"creatorExpected": {
"send": {
"bandwidth_bps": 277200,
"latency_ms": 3190,
"loss": 0.1
},
"receive": {
"bandwidth_bps": 277200,
"latency_ms": 3190,
"loss": 0.1
}
},
"description": "Implementation of the Two Six Labs Indirect communications utilizing the Two Six Whiteboard",
"duration_s": -1,
"linkDirection": "LD_BIDI",
"loaderExpected": {
"send": {
"bandwidth_bps": 277200,
"latency_ms": 3190,
"loss": 0.1
},
"receive": {
"bandwidth_bps": 277200,
"latency_ms": 3190,
"loss": 0.1
}
},
"mtu": -1,
"multiAddressable": false,
"period_s": -1,
"reliable": false,
"isFlushable": false,
"sendType": "ST_STORED_ASYNC",
"supported_hints": ["polling_interval_ms", "after"],
"transmissionType": "TT_MULTICAST",
"maxLinks": 1000,
"creatorsPerLoader": -1,
"loadersPerCreator": -1,
"roles": [
{
"roleName": "default",
"mechanicalTags": [],
"behavioralTags": [],
"linkSide": "LS_BOTH"
}
],
"maxSendsPerInterval": -1,
"secondsPerInterval": -1,
"intervalEndTime": 0,
"sendsRemainingInInterval": -1
}
},
"channel_parameters": [
{
"key": "env",
"required": false
}
],
"compositions": [
{
"id": "DecomposedTestStub",
"transport": "DecomposedTestTransport",
"usermodel": "DecomposedTestUserModel",
"encodings": ["DecomposedTestEncoding"]
"encodings": ["DecomposedTestStubEncoding"]
}
]
}

This file was deleted.

This file was deleted.

Loading

0 comments on commit b37f760

Please sign in to comment.