[Paraview] CTest and offscreen rendering

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Fri Jul 14 10:25:44 EDT 2017


Alas, there's no option to do that currently. It should be doable, but
would need some tweaking of the Cmake code. If you're interested, a good
starting point would be CMake/ParaViewTestingMacros.cmake.


On Fri, Jul 14, 2017 at 8:01 AM, Maxim Torgonskiy <kriolog at gmail.com> wrote:

> Hello,
>
> I am trying to run my paraview python regression tests with ctest on a
> platform without X server. I've compiled paraview with osmesa and with
> opengl (VTK_USE_X is ON; sounds strange but there is a reason for that :)
> ). When I run 'pvbatch --use-offscreen-rendering' my test passes.
> However, ctest gives me the same error (bad X server connection. DISPLAY=)
> which I have if I run pvbatch without use-offscreen-rendering. Is it
> possible to forward this argument to the ctest command?
>
> Regards,
> Maxim
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170714/e60b6c9d/attachment.html>


More information about the ParaView mailing list