[Piglit] [PATCH 43/44] piglit: change piglit command to python 3

baker.dylan.c at gmail.com baker.dylan.c at gmail.com
Wed Jan 27 16:06:51 PST 2016


From: Dylan Baker <baker.dylan.c at gmail.com>

This makes the piglit executable run with python 3 instead of python 2,
the legacy scripts (piglit-run, piglit-summary-html, etc) still run with
python 2.

The goal of this series has been to make python 2.7 a fallback rather
than a main option. If one wants to use python 2, it's a trivial change
to the python script to get that.

Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
 piglit | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/piglit b/piglit
index c2a2e2b..514dd3f 100755
--- a/piglit
+++ b/piglit
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/bin/env python3
 
 # Copyright (c) 2014 Intel Corporation
 
-- 
2.7.0



More information about the Piglit mailing list