The new argument parsing wants the script name parameter sys.argv[0] stripped off.
Signed-off-by: Jordan Justen <[email protected]> Cc: Dylan Baker <[email protected]> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=78421 --- piglit-resume.py | 2 +- piglit-run.py | 2 +- piglit-summary-html.py | 2 +- piglit-summary-junit.py | 2 +- piglit-summary.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/piglit-resume.py b/piglit-resume.py index 68c546d..195a5db 100755 --- a/piglit-resume.py +++ b/piglit-resume.py @@ -29,4 +29,4 @@ Deprecated compatability wrapper import sys from framework.programs.run import resume -resume(sys.argv) +resume(sys.argv[1:]) diff --git a/piglit-run.py b/piglit-run.py index fd7cd72..7c2d71a 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:]) diff --git a/piglit-summary-html.py b/piglit-summary-html.py index 92a350d..078c7cb 100755 --- a/piglit-summary-html.py +++ b/piglit-summary-html.py @@ -25,4 +25,4 @@ import sys from framework.programs.summary import html -html(sys.argv) +html(sys.argv[1:]) diff --git a/piglit-summary-junit.py b/piglit-summary-junit.py index 31c66d3..5aa1969 100755 --- a/piglit-summary-junit.py +++ b/piglit-summary-junit.py @@ -25,4 +25,4 @@ import sys from framework.programs.summary import junit -junit(sys.argv) +junit(sys.argv[1:]) diff --git a/piglit-summary.py b/piglit-summary.py index b497996..c5a3923 100755 --- a/piglit-summary.py +++ b/piglit-summary.py @@ -25,4 +25,4 @@ import sys from framework.programs.summary import console -console(sys.argv) +console(sys.argv[1:]) -- 1.9.2 _______________________________________________ Piglit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/piglit
