Uh oh!
There was an error while loading. Please reload this page.
(A015) [ModelicaSystem] check model executable - #425
Conversation
8b40c54 to
08056f6Compare08056f6 to
6c794cbCompareadeas31
commented
Mar 12, 2026
Rebase. |
syntron
commented
Mar 12, 2026
can but why is it needed? It is PR = one commit; should apply without problems?! |
adeas31
commented
Mar 13, 2026
It says, This branch has conflicts that must be resolved OMPython/ModelicaSystem.py |
…existable exists and can be executed
6c794cb to
e5c8a41Comparesyntron
commented
Mar 13, 2026
Interesting - I did the rebase and there is no diff between the two version: |
adeas31
left a comment
There was a problem hiding this comment.
Would be nice to have a test for this function.
It is highly unlikely that we change model executable to not have a help command line option but just in case it would be nice to have a test for it. What do you think?
syntron
commented
Mar 17, 2026
It is possible to create a separate unittests - however, each simulation request done in test_ModelicaSystem calls into this functions. Thus it is tested! Regarding a separate unittest: what should be tested? (1)a separate test if the function runs without error (=> each simulation) or (2) if the option exist (=> only possible via the execution with |
adeas31
commented
Mar 18, 2026
Then it is fine. |
Uh oh!
There was an error while loading. Please reload this page.
define one fucntion to check if the model executable exists and is working
see PR #404