oeqa/runtime/virgl: Update test to match new mesa version

The output string changed slightly in new mesa versions so update
the test to match.

(From OE-Core rev: 2f1a233e75e7202e2959fee3437def388262c57a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2022-09-22 11:29:00 +01:00
parent 72d1415686
commit f18a7dee06

View File

@ -15,4 +15,4 @@ class VirglTest(OERuntimeTestCase):
def test_kmscube(self):
status, output = self.target.run('kmscube')
self.assertEqual(status, 0, "kmscube exited with non-zero status %d and output:\n%s" %(status, output))
self.assertIn('renderer: "virgl"', output, "kmscube does not seem to use virgl:\n%s" %(output))
self.assertIn('renderer: "virgl', output, "kmscube does not seem to use virgl:\n%s" %(output))