summaryrefslogtreecommitdiff
path: root/piglit-run.py
diff options
context:
space:
mode:
Diffstat (limited to 'piglit-run.py')
-rwxr-xr-xpiglit-run.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/piglit-run.py b/piglit-run.py
index 33318d496..7e9979115 100755
--- a/piglit-run.py
+++ b/piglit-run.py
@@ -72,6 +72,9 @@ def main():
parser.add_argument("--valgrind",
action="store_true",
help="Run tests in valgrind's memcheck")
+ parser.add_argument("--dmesg",
+ action="store_true",
+ help="Capture a difference in dmesg before and after each test")
parser.add_argument("testProfile",
metavar="<Path to test profile>",
help="Path to testfile to run")
@@ -108,7 +111,8 @@ def main():
exclude_filter=args.exclude_tests,
include_filter=args.include_tests,
execute=args.execute,
- valgrind=args.valgrind)
+ valgrind=args.valgrind,
+ dmesg=args.dmesg)
# Change working directory to the root of the piglit directory
piglit_dir = path.dirname(path.realpath(sys.argv[0]))