diff options
Diffstat (limited to 'test/default_run.py')
-rwxr-xr-x | test/default_run.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/default_run.py b/test/default_run.py index c9dcb0ac29..7e28dfc082 100755 --- a/test/default_run.py +++ b/test/default_run.py @@ -982,11 +982,11 @@ def default_run(ctx, args, **kwargs): # In particular, unhandled exception is printed using several unterminated printfs. ALL_LOG_TAGS = ["V", "D", "I", "W", "E", "F", "S"] skip_tag_set = "|".join(ALL_LOG_TAGS[:ALL_LOG_TAGS.index(args.diff_min_log_tag.upper())]) - skip_reg_exp = fr'[[:alnum:]]+ ({skip_tag_set}) #-# #:#:# [^\n]*\n'.replace('#', '[0-9]+') + skip_reg_exp = fr'#-# #:#:# # # ({skip_tag_set}) [^\n]*\n'.replace('#', '[0-9.]+') ctx.run(fr"sed -i -z -E 's/{skip_reg_exp}//g' '{args.stderr_file}'") if not HAVE_IMAGE: message = "(Unable to open file|Could not create image space)" - ctx.run(fr"sed -i -E '/^dalvikvm(|32|64) E .* {message}/d' '{args.stderr_file}'") + ctx.run(fr"sed -i -E '/^.* E dalvikvm(|32|64): .* {message}/d' '{args.stderr_file}'") if ANDROID_LOG_TAGS != "*:i" and "D" in skip_tag_set: ctx.run(fr"sed -i -E '/^(Time zone|I18n) APEX ICU file found/d' '{args.stderr_file}'") if ON_VM: |