From: Cleber Rosa Date: Thu, 19 Sep 2019 16:14:00 +0000 (-0400) Subject: Acceptance test machine_m68k_nextcube.py: relax the error code pattern X-Git-Tag: v4.2.0-rc0~86^2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=20869f9865b2e2571304aaee0fd269a6b598f31e;p=thirdparty%2Fqemu.git Acceptance test machine_m68k_nextcube.py: relax the error code pattern Instead of looking for a specific error, let's relax the pattern because different errors have been seen (I'm consistenly getting 52) and the real goal of this test is to validate the framebuffer operation, and not to reproduce one specific error. Signed-off-by: Cleber Rosa Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth Message-Id: <20190919161400.26399-1-crosa@redhat.com> Signed-off-by: Cleber Rosa --- diff --git a/tests/acceptance/machine_m68k_nextcube.py b/tests/acceptance/machine_m68k_nextcube.py index e09cab9f209..fcd2c58ee7c 100644 --- a/tests/acceptance/machine_m68k_nextcube.py +++ b/tests/acceptance/machine_m68k_nextcube.py @@ -116,6 +116,6 @@ class NextCubeMachine(Test): if len(line): console_logger.debug(line) self.assertIn('Testing the FPU, SCC', text) - self.assertIn('System test failed. Error code 51', text) + self.assertIn('System test failed. Error code', text) self.assertIn('Boot command', text) self.assertIn('Next>', text)