From 787ad780c02cccd86600172d2102df6ddd1b42d6 Mon Sep 17 00:00:00 2001 From: Miles Liu Date: Mon, 13 Mar 2023 15:33:07 +0800 Subject: [PATCH] docs: fix tr.pl and stat-printf.pl don't show up in gnu-full-result --- util/gnu-json-result.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/gnu-json-result.py b/util/gnu-json-result.py index 1cd16e64c..c1adb3ffc 100644 --- a/util/gnu-json-result.py +++ b/util/gnu-json-result.py @@ -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