Closed ErwanDouaille closed 6 years ago
@guparan @hugtalbot @damienmarchal I think it's ready for the 17.12 release, as an experimental feature.
Congratulation to Erwan.
[ci-build][with-scene-tests]
[ci-build][with-scene-tests]
[ci-build][with-scene-tests]
@damienmarchal @hugtalbot , stupid question. How can I write a test for a GUI ? I don't see any tests for qt/glut ... :/
@guparan can you enable the HeadlessRecorder plugin ? It looks like this plugin is not turned on on CI :/
Here you go.
It may be better to check if FFMPEG and X11 are installed before enabling the plugin.
EDIT: I'll add an if
block to enable only on Linux, my bad.
[ci-build][with-scene-tests]
[ci-build][with-scene-tests]
Any idea why it's still failing on Linux VMs? :-(
Failures are due to old ffmpeg libraries. They changed the api (10/2015 as I remember). Actually it´s working on a fresh ubuntu 17.10 but not on the old LTS. I don´t remember the ffmpeg version number.
@bcarrez was working on centos and tried to fetch the correct version before pushing it to the ubuntu vm.
[ci-build][with-scene-tests]
Well, it's now compiling on linux since @bcarrez installed a new version of some ffmpeg libs. The failure on the ubuntu build is due to the lack of X. @damienmarchal @guparan @hugtalbot do we need to test this "gui" ? I means, others gui are not tested and the problem would be the same as we encounter with the headless recorder if we consider testing it.
On centos, we need to install newer version of ffmpeg libs.
@ErwanDouaille your remark makes sense. There are several points to be aware of:
Ahem... configuring a RECENT version of libavcodec and co. is a pain in the... back on Centos. I kindly suggest we disable this feature on centos...
With the new exclusion of SOFAGUI_HEADLESS_RECORDER on CentOS, looks like all tests pass correctly. I think that once the dashboard has finished, this PR will be ready to merge.
[ci-build]
Dreams do come true ... It's green !!!
[ci-build][with-scene-tests]
So @guparan and @hugtalbot do we set this one to ready ?
@guparan thanks for the fix
HeadlessRecorder is, as its name suggest, a new gui plugin who allow users to records sofa visualisation without any windows (batch only)
⚠ Linux only ⚠
https://github.com/sofa-framework/sofa/issues/537
This PR:
Reviewers will merge only if all these checks are true.