Skip to content

Add tests for actually calling OpenModelica - #67

Merged
sjoelund merged 8 commits into
OpenModelica:masterfrom
sjoelund:jenkins-build-deps-image
Jun 8, 2018
Merged

sjoelund merged 8 commits into
OpenModelica:masterfrom
sjoelund:jenkins-build-deps-image

Conversation

@sjoelund

@sjoelund sjoelund commented Jun 5, 2018 •

Copy link
Copy Markdown
Member

Closes #58
Closes #61

@sjoelund
sjoelund force-pushed the jenkins-build-deps-image branch 5 times, most recently from f7d7e9f to 92ef962 Compare June 6, 2018 17:26
@sjoelund
sjoelund requested review from adeas31, alash325 and arun3688 June 6, 2018 17:27
@sjoelund

sjoelund commented Jun 6, 2018

Copy link
Copy Markdown
Member Author

I had quite a lot of problems with OMPython sometimes hanging when trying to quit. This might be related to the problems we have with OMSimulator (@lochel). Do any of you have any better ideas? #61 related perhaps? I think one thing we did wrong was that we just checked the exit status of OMC, but this was actually never updated because we didn't poll or wait on the subprocess.

sjoelund and others added 7 commits June 7, 2018 09:27
We now create a process group so we can kill OMC properly including all
child processes. This makes the tests run more stable.
This fixes an issue with passing quit() to OMC in subsequent calls of
OMCSessionZMQ.
@sjoelund
sjoelund force-pushed the jenkins-build-deps-image branch from 5d1bb16 to 485cea0 Compare June 7, 2018 07:28
@sjoelund
sjoelund merged commit adb9686 into OpenModelica:master Jun 8, 2018
@sjoelund
sjoelund deleted the jenkins-build-deps-image branch June 8, 2018 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants