<div dir="ltr">Thanks Utkarsh,<div><br></div><div>Ok, I'll just modify <span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;white-space:pre-wrap">PARAVIEW_PVBATCH_ARGS in my test CMakeLists:</span></div><div><span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;white-space:pre-wrap"><br></span></div><div><font color="#24292e" face="SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace"><span style="font-size:12px;white-space:pre-wrap">if(VTK_OPENGL_HAS_OSMESA AND PARAVIEW_BUILD_QT_GUI AND VTK_USE_X)
set(PARAVIEW_PVBATCH_ARGS --use-offscreen-rendering)
endif()</span></font><br></div><div><span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;white-space:pre-wrap"><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-07-14 10:25 GMT-04:00 Utkarsh Ayachit <span dir="ltr"><<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">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.<wbr>cmake.<div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Fri, Jul 14, 2017 at 8:01 AM, Maxim Torgonskiy <span dir="ltr"><<a href="mailto:kriolog@gmail.com" target="_blank">kriolog@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hello,<div><br></div><div>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-rende<wbr>ring' 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?</div><div><br></div><div>Regards,</div><div>Maxim</div></div>
<br></div></div>______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensou<wbr>rce/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/ParaV<wbr>iew</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/paraview</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>