[vtk-developers] Running tests locally

David Gobbi david.gobbi at gmail.com
Sat Mar 16 09:42:25 EDT 2019


Hi Simon,

I just ran ctest on a static build of master on my laptop (macOS 10.14 with
Xcode 10.1) and didn't see any failures due to missing implementation
classes.  As long as VTK::RenderingOpenGL2 is in the TEST_DEPENDS section
for a module, the linking and auto-initialization of the factories for the
test executables should happen automatically.

One caveat: I set CMAKE_OSX_DEPLOYMENT_TARGET:STRING=10.9 for my build, but
I doubt that this would change anything.

   David



On Fri, Mar 15, 2019 at 4:29 PM Simon Drouin <drouin.simon at gmail.com> wrote:

> Hi all,
>
> I'm new to testing VTK. I'm having trouble running tests locally (static
> build of master on macOS 10.14). A bunch of tests fail because opengl
> implementation of classes are not available, e.g.:
>
> [image: image.png]
>
> Others crash on failing to create instances of vtkGPUInfoList for example.
> I guess I'm doing something that causes some modules not to be initialized
> properly when testing, but what?
>
> Could this be related to the new module system?
>
> Thanks in advance.
>
> s.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtk-developers/attachments/20190316/8f5b8975/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 127390 bytes
Desc: not available
URL: <https://vtk.org/pipermail/vtk-developers/attachments/20190316/8f5b8975/attachment-0001.png>


More information about the vtk-developers mailing list