[Piglit] [PATCH 2/2] piglit-run.py: use python2

Xavier Chantry chantry.xavier at gmail.com
Mon Oct 25 14:08:29 PDT 2010

On Sun, Oct 24, 2010 at 10:00 PM, Vinson Lee <vlee at vmware.com> wrote:
> This isn't going to work on Mac OS X, which doesn't have a python2 binary or python2 symlink.

Thanks for the info, that's good to know.
Then we could use the equivalent of AC_CHECK_PROG for cmake if there
is one, or just manual test with e.g. type.
And then probably rename the 4 top-level python script to .py.in and
do some string substitution.

generate-glean-tests.py:#!/usr/bin/env python
piglit-create-summary.py:#!/usr/bin/env python
piglit-run.py:#!/usr/bin/env python
piglit-summary-html.py:#!/usr/bin/env python

Anyway I won't bother for now with a specific and developer-oriented
tool like piglit, it's easily fixable by hand anyway.
And especially if no one else needs it.

More information about the Piglit mailing list