Merge pull request #4503 from miles170/issue-4341-fix-docs

docs: fix tr.pl and stat-printf.pl don't show up in gnu-full-result
This commit is contained in:
Sylvestre Ledru 2023-03-13 10:45:14 +01:00 committed by GitHub
commit 2bcd774358
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,7 +18,7 @@ for filepath in test_dir.glob("**/*.log"):
current[key] = {}
current = current[key]
try:
with open(path) as f:
with open(path, errors="ignore") as f:
content = f.read()
result = re.search(
r"(PASS|FAIL|SKIP|ERROR) [^ ]+ \(exit status: \d+\)$", content