diff --git a/tests/qvctests/integ.py b/tests/qvctests/integ.py index f8cb753..34c460c 100644 --- a/tests/qvctests/integ.py +++ b/tests/qvctests/integ.py @@ -141,7 +141,9 @@ def test_020_webcam(self): self.view.name, '@default', target=self.source.name) - self.source.run("modprobe vivid", user="root", wait=True) + ret = self.source.run("modprobe vivid", user="root", wait=True) + if ret != 0: + self.skipTest("Cannot load 'vivid' module") # wait for device to appear, or a timeout self.wait_for_video0(self.source)