summaryrefslogtreecommitdiff
path: root/piglit-run.py
diff options
context:
space:
mode:
authorJordan Justen <jordan.l.justen@intel.com>2014-05-07 23:56:15 -0700
committerJordan Justen <jordan.l.justen@intel.com>2014-05-08 08:12:28 -0700
commitf4ea7b24a02d7ba0b3ba5e05ee8a83b476ef7d1e (patch)
treefb3e2e0fee0178e77817651f3371ec582a1fb6aa /piglit-run.py
parentc604bee4b76f1a299a2a34122a7957d86672a1cd (diff)
wrappers: Fix argument issue with new wrapper scripts
The new argument parsing wants the script name parameter sys.argv[0] stripped off. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=78421 Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Diffstat (limited to 'piglit-run.py')
-rwxr-xr-xpiglit-run.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/piglit-run.py b/piglit-run.py
index fd7cd72b3..7c2d71aef 100755
--- a/piglit-run.py
+++ b/piglit-run.py
@@ -29,4 +29,4 @@ Deprecated compatability wrapper
import sys
from framework.programs.run import run
-run(sys.argv)
+run(sys.argv[1:])