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 <[email protected]>
---
Cc: Andy Shevchenko <[email protected]>
Cc: Casey Connolly <[email protected]>
Cc: Christian Marangi <[email protected]>
Cc: Heinrich Schuchardt <[email protected]>
Cc: Ilias Apalodimas <[email protected]>
Cc: Jerome Forissier <[email protected]>
Cc: Joe Hershberger <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Mattijs Korpershoek <[email protected]>
Cc: Michael Walle <[email protected]>
Cc: Michal Simek <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: Quentin Schulz <[email protected]>
Cc: Rasmus Villemoes <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Varadarajan Narayanan <[email protected]>
Cc: "Vincent StehlĂ©" <[email protected]>
Cc: Weijie Gao <[email protected]>
---
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

Reply via email to