Ok thanks, so the solution is to run the piglit script like this :
python2 piglit-run.py tests/sanity.tests results/sanity.results in my archlinux installation I have 2 different python packages: python2 and python3 by default it's the python3 interpreter who runs for python scripts, that's why I had this error, now it's Ok and I will post the results of my tests about these 5 Roland's patches in a next mail Le 29/07/2012 22:56, Matt Turner a écrit : > On Sun, Jul 29, 2012 at 1:41 PM, Barto <mister.free...@laposte.net> wrote: >> thanks for the tip, >> >> I have compiled piglist without problems, I read the "readme" file and I >> have this error message when I launch the piglit-run.py script : >> >> ./piglit-run.py tests/sanity.tests results/sanity.results >> >> File "./piglit-run.py", line 71 >> print USAGE % {'progName': sys.argv[0]} >> >> I don't manage to find a tutorial for piglit, >> >> I use archlinux and maybe the last version of python package is not >> fully compatible with piglit ? >> >> or maybe I missed something important > > It's because of Arch's policy of shipping python 3 as the python > interpreter. piglit needs python 2. > _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev