Commit e4309156 authored by Daniel Vetter's avatar Daniel Vetter

tests/igt: restore dmesg-by-default

This regression has been introduced in

commit 90a25641
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 da3819f0
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's avatarDylan Baker <baker.dylan.c@gmail.com>
Signed-off-by: Daniel Vetter's avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 8eb40d7e
......@@ -75,7 +75,9 @@ def main():
env.exclude_tests.add(key)
profile = core.merge_test_profiles(results.options['profile'])
profile.dmesg = env.dmesg
if env.dmesg:
profile.dmesg = env.dmesg
# This is resumed, don't bother with time since it wont be accurate anyway
profile.run(env, json_writer)
......
......@@ -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()
......
......@@ -154,3 +154,5 @@ multiTests = listTests("list-multi-tests")
for test in multiTests:
addSubTestCases(test)
profile.dmesg = True
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