aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2019-03-29 12:06:44 +0100
committerGerd Hoffmann <kraxel@redhat.com>2019-03-29 12:06:44 +0100
commit53a14a2d3fb928b21563e7c123fbfd43ccd46b3a (patch)
tree12e2cb5301e5b4a14d4e4663ec61c4f9f0e54555
parente945a0d98c9b4953f627a8dff33422eeb81164ee (diff)
downloaddrminfo-53a14a2d3fb928b21563e7c123fbfd43ccd46b3a.tar.gz
tests: catch driver load issues
-rw-r--r--tests/basic.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/basic.py b/tests/basic.py
index 4553e4e..5216a05 100644
--- a/tests/basic.py
+++ b/tests/basic.py
@@ -40,6 +40,8 @@ class BaseDRM(TestDRM):
self.console_run('drminfo -a')
drminfo = self.console_wait('---root---')
self.write_text(vga, "drminfo", drminfo)
+ if not "framebuffer formats" in drminfo:
+ self.fail("device not present");
self.console_run('drminfo -F')
formats = self.console_wait('---root---')