[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vtk-developers
Subject:    Re: [vtk-developers] Running tests locally
From:       David Gobbi <david.gobbi () gmail ! com>
Date:       2019-03-16 13:42:25
Message-ID: CANwS1=GB6xZ7Z-OEw81-yn6_AGCGY51mFuz4ThqmfQYkQynqfg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/related)]

[Attachment #4 (multipart/alternative)]


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@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.
>

[Attachment #7 (text/html)]

<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi \
Simon,</div><div><br></div><div>I just ran ctest on a static build of master on my \
laptop (macOS 10.14 with Xcode 10.1) and didn&#39;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.</div><div><br></div><div>One caveat: I \
set  CMAKE_OSX_DEPLOYMENT_TARGET:STRING=10.9 for my build, but I doubt that this \
would change anything.</div><div><br></div><div>     \
David</div><div><br></div><div><br></div><br><div class="gmail_quote"><div dir="ltr" \
class="gmail_attr">On Fri, Mar 15, 2019 at 4:29 PM Simon Drouin &lt;<a \
href="mailto:drouin.simon@gmail.com">drouin.simon@gmail.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi \
all,<div><br></div><div>I&#39;m new to testing VTK. I&#39;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.:</div><div><br></div><div><div><img src="cid:ii_jtamk0nr0" alt="image.png" \
width="531" height="83"><br></div></div><div><br></div><div>Others crash on failing \
to create instances of vtkGPUInfoList for example. I guess I&#39;m doing something \
that causes some modules not to be initialized properly when testing, but \
what?</div><div><br></div><div>Could this be related to the new module \
system?</div><div><br></div><div>Thanks in \
advance.</div><div><br></div><div>s.</div></div> \
</blockquote></div></div></div></div>


["image.png" (image/png)]

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Search the list archives at: http://markmail.org/search/?q=vtk-developers

Follow this link to subscribe/unsubscribe:
https://vtk.org/mailman/listinfo/vtk-developers



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic