[Piglit] Integrating external test suites with piglit

Dylan Baker baker.dylan.c at gmail.com
Wed Nov 13 12:53:34 PST 2013


On Wednesday, November 13, 2013 01:00:39 PM Tom Stellard wrote:
> Hi,
> 
> I've been doing a lot of testing lately with the OpenCV library
> (http://opencv.org).  It has its own gtest based regression test suite,
> and so far I've been trying to port some of these tests over to piglit.
> Unfortunately, this has been very difficult and time consuming.  Mostly,
> because it is nearly impossible to extract the input data and the expected
> output data from these tests.
> 
> As a result, I've been thinking about trying to integrate the opencv test
> program into piglit.  My initial idea was to add a CMake configuration
> option so you could specify a path to opencv's test program and then
> write some sort of piglit-gtest module for parsing the output.
> 
> I'm curious if anyone has tried to do something similar or if
> someone has some other suggestions for how to make this work.
> 
> Thanks,
> Tom
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit

We already have support for three external suites (intel gpu tools, 
es3conform, and oglconform), generally the suggestion is to just provide a 
symlink to the binaries in bin, and then subclass exectest.ExecTest with the 
appropriate interpret_results() method.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20131113/876de552/attachment.pgp>


More information about the Piglit mailing list