tests/vm: add console_consume helper
commit6c4f0416be5805962a77af240a41fae5eaffda8b
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 31 Oct 2019 08:53:04 +0000 (31 09:53 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Tue, 12 Nov 2019 14:32:55 +0000 (12 14:32 +0000)
tree397c546d786c88bdca6a27b8d81b7b91313d66bb
parentaf093bc937ba7813ba3a091ddab64d2f813740ea
tests/vm: add console_consume helper

Helper function to read all console output.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-Id: <20191031085306.28888-3-kraxel@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
tests/vm/basevm.py