Skip to content

Commit

Permalink
Fix E2E tests.
Browse files Browse the repository at this point in the history
Signed-off-by: Timothy Rule (VM/EMT3) <[email protected]>
  • Loading branch information
timrulebosch committed Dec 2, 2024
1 parent bdf48c3 commit dcda873
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions dse/fmimcl/examples/fmi2fmu/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,27 +13,27 @@ set(FMI2_INCLUDE_DIR "${DSE_CLIB_SOURCE_DIR}/clib/fmi/fmi2/headers")
# Targets
# =======

add_library(fmi2mclTarget SHARED
add_library(mclfmi2fmu SHARED
fmi2fmu.c
../../../fmimodelc/ascii85.c
${DSE_CLIB_SOURCE_DIR}/clib/collections/hashmap.c
${DSE_CLIB_SOURCE_DIR}/clib/collections/set.c
)
target_include_directories(fmi2mclTarget
target_include_directories(mclfmi2fmu
PRIVATE
${DSE_CLIB_INCLUDE_DIR}
${FMI2_INCLUDE_DIR}
)
install(
TARGETS
fmi2mclTarget
mclfmi2fmu
LIBRARY DESTINATION
${MODEL_PATH}/lib
)

install(
TARGETS
fmi2mclTarget
mclfmi2fmu
LIBRARY DESTINATION
${MODEL_PATH}/fmu/binaries/linux64
)
Expand Down
2 changes: 1 addition & 1 deletion dse/fmimcl/examples/fmi2fmu/modelDescription.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
generationDateAndTime=""
variableNamingConvention=""
numberOfEventIndicators="">
<CoSimulation modelIdentifier="libfmi2fmu" canHandleVariableCommunicationStepSize=""
<CoSimulation modelIdentifier="libmclfmi2fmu" canHandleVariableCommunicationStepSize=""
canInterpolateInputs=""></CoSimulation>
<DefaultExperiment startTime="0" stopTime="42" stepSize="0.0005"></DefaultExperiment>

Expand Down
2 changes: 1 addition & 1 deletion dse/fmimcl/examples/input/data/model.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
mcl:
- os: linux
arch: amd64
path: examples/lib/libfmi2fmu.so
path: examples/lib/libmclfmi2fmu.so
channels:
- alias: signal_channel
selectors:
Expand Down
2 changes: 1 addition & 1 deletion tests/cmocka/fmimcl/mstep/fmu_mstep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ spec:
mcl:
- os: linux
arch: amd64
path: ../../../../dse/build/_out/fmimcl/examples/lib/libfmi2mclTarget.so
path: ../../../../dse/build/_out/fmimcl/examples/lib/libmclfmi2fmu.so
channels:
- alias: signal_channel
selectors:
Expand Down
2 changes: 1 addition & 1 deletion tests/cmocka/fmimcl/test_fmi2.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ int test_fmi2_setup(void** state)
.cosim = true,
.guid = "",
.resource_dir = "",
.path = "../../../../dse/build/_out/fmimcl/examples/lib/libfmi2mclTarget.so",
.path = "../../../../dse/build/_out/fmimcl/examples/lib/libmclfmi2fmu.so",
.handle = "",
},
.model_instance = {
Expand Down

0 comments on commit dcda873

Please sign in to comment.