docs: fix tr.pl and stat-printf.pl don't show up in gnu-full-result

This commit is contained in:
Miles Liu 2023-03-13 15:33:07 +08:00
parent d28c4783c6
commit 787ad780c0
No known key found for this signature in database
GPG key ID: 4DB9B32F9B24A7A9

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