[Piglit] Porting Glean Tests to the Piglit Framework

Ian Romanick idr at freedesktop.org
Mon Oct 20 11:14:27 PDT 2014

On 10/09/2014 01:49 PM, Laura Ekstrand wrote:
> Hi Juliet,
> I've started working on moving some of the Glean tests to Piglit.  I
> haven't submitted any of this upstream yet, but you can view my changes
> on my cgit repository: http://cgit.freedesktop.org/~ldeks/piglit/.  
> I've added an up-to-date to-do list (piglit/tests/glean/glean-todo)
> which can help you figure out what's been done already and where to
> start.  This will also hopefully help us coordinate our efforts.  The
> tests I have moved over are stored in the piglit/tests/spec/laura_*
> folders (I haven't had time to decide better names/locations yet).
> In regards to your question about Python, Piglit tests aren't actually
> wrapped in Python.  Each test is a separate C program that gets it's
> main function from a macro defined in
> piglit/tests/util/piglit-framework-gl.h.

There are, however, quite a few tests that have large amounts of test
data generated by Python scripts.  These tests generally live in the
top-level generate_tests/ directory.

> I'm really excited to be working with you.  Let me know any other
> questions you might have.
> Laura Ekstrand
> On Thu, Oct 9, 2014 at 4:54 AM, Juliet Fru <julietfru at gmail.com
> <mailto:julietfru at gmail.com>> wrote:
>     Hello,
>     I am currently working on my OPW proposal for porting the glean
>     tests to the piglit framework. I've successfully compiled piglit and
>     read the Hacking file for piglit. Looking at the current tests for
>     piglit i looks like they are all wrapped in python? My Python
>     programming skills are limited and I will greatly appreciate if
>     anyone could give me a pointer to the code where sample glean tests
>     have been converted to piglit, So I could see how to work with the
>     current tests in /tests/glean directory.
>     Would love to know how to submit my proposal for review before
>     officially completing on the OPW applications page.
>     Thanks,
>     Juliet
>     _______________________________________________
>     Piglit mailing list
>     Piglit at lists.freedesktop.org <mailto:Piglit at lists.freedesktop.org>
>     http://lists.freedesktop.org/mailman/listinfo/piglit
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit

More information about the Piglit mailing list