Some tests deliberately provoke an error, but if the console output is "## Error: " pytest catches it as an error and cancels the test. Remove this to enable this type of tests.
Signed-off-by: Christoph Niedermaier <cniederma...@dh-electronics.com> --- Cc: Andy Shevchenko <andriy.shevche...@linux.intel.com> Cc: Casey Connolly <casey.conno...@linaro.org> Cc: Christian Marangi <ansuels...@gmail.com> Cc: Heinrich Schuchardt <xypron.g...@gmx.de> Cc: Ilias Apalodimas <ilias.apalodi...@linaro.org> Cc: Jerome Forissier <jerome.foriss...@linaro.org> Cc: Joe Hershberger <joe.hershber...@ni.com> Cc: Marek Vasut <ma...@denx.de> Cc: Mattijs Korpershoek <mkorpersh...@kernel.org> Cc: Michael Walle <mwa...@kernel.org> Cc: Michal Simek <michal.si...@amd.com> Cc: Patrick Delaunay <patrick.delau...@foss.st.com> Cc: Quentin Schulz <quentin.sch...@cherry.de> Cc: Rasmus Villemoes <r...@prevas.dk> Cc: Simon Glass <s...@chromium.org> Cc: Tom Rini <tr...@konsulko.com> Cc: Varadarajan Narayanan <quic_var...@quicinc.com> Cc: "Vincent Stehlé" <vincent.ste...@arm.com> Cc: Weijie Gao <weijie....@mediatek.com> --- V5: - Add this patch to the series --- test/py/console_base.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/py/console_base.py b/test/py/console_base.py index 88d444b44b8..1ac42ef83a0 100644 --- a/test/py/console_base.py +++ b/test/py/console_base.py @@ -21,7 +21,6 @@ pattern_u_boot_spl_signon = re.compile('(U-Boot SPL \\d{4}\\.\\d{2}[^\r\n]*\\))' pattern_u_boot_main_signon = re.compile('(U-Boot \\d{4}\\.\\d{2}[^\r\n]*\\))') pattern_stop_autoboot_prompt = re.compile('Hit any key to stop autoboot: ') pattern_unknown_command = re.compile('Unknown command \'.*\' - try \'help\'') -pattern_error_notification = re.compile('## Error: ') pattern_error_please_reset = re.compile('### ERROR ### Please RESET the board ###') pattern_ready_prompt = re.compile('{lab ready in (.*)s: (.*)}') pattern_lab_mode = re.compile('{lab mode.*}') @@ -45,7 +44,6 @@ bad_pattern_defs = ( ('main_signon', pattern_u_boot_main_signon), ('stop_autoboot_prompt', pattern_stop_autoboot_prompt), ('unknown_command', pattern_unknown_command), - ('error_notification', pattern_error_notification), ('error_please_reset', pattern_error_please_reset), ) -- 2.30.2