Commit ed6cdc2f authored by Dylan Baker's avatar Dylan Baker

piglit-run.py: Fix a few PEP8 issues that snuck in

This is purely formatting changes with no functional changes.
Signed-off-by: Dylan Baker's avatarDylan Baker <baker.dylan.c@gmail.com>
parent f2877acc
...@@ -53,19 +53,21 @@ def main(): ...@@ -53,19 +53,21 @@ def main():
dest="execute", dest="execute",
help="Do not execute the tests") help="Do not execute the tests")
parser.add_argument("-t", "--include-tests", parser.add_argument("-t", "--include-tests",
default = [], default=[],
action = "append", action="append",
metavar = "<regex>", metavar="<regex>",
help = "Run only matching tests (can be used more than once)") help="Run only matching tests "
"(can be used more than once)")
parser.add_argument("-x", "--exclude-tests", parser.add_argument("-x", "--exclude-tests",
default = [], default=[],
action = "append", action="append",
metavar = "<regex>", metavar="<regex>",
help = "Exclude matching tests (can be used more than once)") help="Exclude matching tests "
"(can be used more than once)")
parser.add_argument("-1", "--no-concurrency", parser.add_argument("-1", "--no-concurrency",
action = "store_false", action="store_false",
dest = "concurrency", dest="concurrency",
help = "Disable concurrent test runs") help="Disable concurrent test runs")
parser.add_argument("-p", "--platform", parser.add_argument("-p", "--platform",
choices=["glx", "x11_egl", "wayland", "gbm"], choices=["glx", "x11_egl", "wayland", "gbm"],
help="Name of windows system passed to waffle") help="Name of windows system passed to waffle")
...@@ -74,7 +76,8 @@ def main(): ...@@ -74,7 +76,8 @@ def main():
help="Run tests in valgrind's memcheck") help="Run tests in valgrind's memcheck")
parser.add_argument("--dmesg", parser.add_argument("--dmesg",
action="store_true", action="store_true",
help="Capture a difference in dmesg before and after each test") help="Capture a difference in dmesg before and "
"after each test")
parser.add_argument("testProfile", parser.add_argument("testProfile",
metavar="<Path to test profile>", metavar="<Path to test profile>",
help="Path to testfile to run") help="Path to testfile to run")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment