<p dir="ltr">These are real errors that need to be fixed. For those errors that are on purpose, we grab them with an error observer and verify that the proper error message is generated.</p>
<div class="gmail_quote">On Oct 26, 2015 4:29 PM, "Andras Lasso" <<a href="mailto:lasso@queensu.ca">lasso@queensu.ca</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Bill,<br>
<br>
You might find this info useful: We do a similar check in (some) automated tests in Slicer, but instead of parsing the test output we check the number logged VTK error and warning messages. We also have some convenience macros for initialization and reporting and to manage expected errors and warnings. Checks can be added without modifying existing tests, just changing the test driver macros.<br>
<br>
More details:<br>
<a href="http://slicer.org/doc/html/classvtkTestingOutputWindow.html" rel="noreferrer" target="_blank">http://slicer.org/doc/html/classvtkTestingOutputWindow.html</a><br>
<a href="http://www.slicer.org/slicerWiki/index.php/Documentation/Nightly/Developers/Tutorials/CxxTests" rel="noreferrer" target="_blank">http://www.slicer.org/slicerWiki/index.php/Documentation/Nightly/Developers/Tutorials/CxxTests</a><br>
<a href="https://github.com/Slicer/Slicer/blob/master/Libs/vtkAddon/" rel="noreferrer" target="_blank">https://github.com/Slicer/Slicer/blob/master/Libs/vtkAddon/</a><br>
<br>
It would be nice if the VTK core would have such a feature (similarly to how tests can be made to exit with failure when there are memory leaks).<br>
<br>
Andras<br>
<br>
-----Original Message-----<br>
From: vtk-developers [mailto:<a href="mailto:vtk-developers-bounces@vtk.org">vtk-developers-bounces@vtk.org</a>] On Behalf Of Bill Lorensen<br>
Sent: Monday, October 26, 2015 12:52 PM<br>
To: VTK Developers <<a href="mailto:vtk-developers@vtk.org">vtk-developers@vtk.org</a>><br>
Subject: [vtk-developers] vtkRenderingOpenGL2Cxx-TestDepthOfFieldPass ERRORs<br>
<br>
Folks,<br>
<br>
I am working on a patch that will report test failures if "ERROR"<br>
appeares in the test output.<br>
<br>
The subject test will fail once I merge this patch (which is at least a week away). It reports<br>
<br>
ERROR: In /Users/kitware/dashboards/buildbot/vtk-trey-osx-shared-release_opengl2_python_qt/source/Rendering/OpenGL2/vtkTextureUnitManager.cxx,<br>
line 58<br>
vtkTextureUnitManager (0x7f9432c9ab80): the texture unit is deleted but some texture units have not been released: Id=2<br>
<br>
Bill<br>
_______________________________________________<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/opensource/opensource.html</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtk-developers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtk-developers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtk-developers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtk-developers</a><br>
<br>
</blockquote></div>