hopefully fixes regex matching of stderr
This commit is contained in:
parent
fd942a8d7e
commit
0fe2d2ed30
@ -3,6 +3,7 @@
|
|||||||
import argparse
|
import argparse
|
||||||
import datetime
|
import datetime
|
||||||
import os
|
import os
|
||||||
|
import re
|
||||||
import shutil
|
import shutil
|
||||||
import subprocess
|
import subprocess
|
||||||
import sys
|
import sys
|
||||||
@ -194,7 +195,7 @@ def main():
|
|||||||
|
|
||||||
if res in args.success_exit_codes:
|
if res in args.success_exit_codes:
|
||||||
# Possible success, check error output
|
# Possible success, check error output
|
||||||
re_checks = [re.compile(r) for r in args.ignore_error]
|
re_checks = [re.compile(r) for r in args.err_re]
|
||||||
ok = True
|
ok = True
|
||||||
with open(errfile, 'r') as f:
|
with open(errfile, 'r') as f:
|
||||||
for line in f:
|
for line in f:
|
||||||
|
Loading…
Reference in New Issue
Block a user