summaryrefslogtreecommitdiff
path: root/piglit-run.py
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2014-02-05 10:59:56 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-02-06 09:24:32 +0100
commite43091567aca065d227466e7b582159ca201322f (patch)
treebd140733bd2017c57ce30f3e6d6b766cc3b50b7d /piglit-run.py
parent8eb40d7e829500ff4e22d91745cc7c4f0f6e64d0 (diff)
tests/igt: restore dmesg-by-default
This regression has been introduced in commit 90a25641164c8a0c8cc09a5515864b654df9d368 Author: Dylan Baker <baker.dylan.c@gmail.com> Date: Mon Jan 27 11:23:28 2014 -0800 Use the new dmesg class The original logic to always capture dmesg for igt tests has been added in commit da3819f07ca2b74b386ee96b8af1e141c36ec8ce Author: Daniel Vetter <daniel.vetter@ffwll.ch> Date: Mon Nov 11 22:04:32 2013 +0100 igt: Enable dmesg checking by default Cc: Dylan Baker <baker.dylan.c@gmail.com> Reviewed-by: Dylan Baker <baker.dylan.c@gmail.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'piglit-run.py')
-rwxr-xr-xpiglit-run.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/piglit-run.py b/piglit-run.py
index 0dbfa738c..ba5c925c6 100755
--- a/piglit-run.py
+++ b/piglit-run.py
@@ -157,7 +157,8 @@ def main():
json_writer.open_dict()
time_start = time.time()
# Set the dmesg type
- profile.dmesg = args.dmesg
+ if args.dmesg:
+ profile.dmesg = args.dmesg
profile.run(env, json_writer)
time_end = time.time()