From a44a6221d28aacc064440ada4a9a086968bf06c4 Mon Sep 17 00:00:00 2001 From: Peter Willendrup Date: Sun, 25 Oct 2026 17:27:38 +0100 Subject: [PATCH] mcviewtest: ignore non-testdirs (and non-completed tests) --- tools/Python/mctest/mcviewtest.py | 26 ++++++-------------------- 1 file changed, 6 insertions(+), 20 deletions(-) diff --git a/tools/Python/mctest/mcviewtest.py b/tools/Python/mctest/mcviewtest.py index bfa53d3aa..d5ebc5571 100644 --- a/tools/Python/mctest/mcviewtest.py +++ b/tools/Python/mctest/mcviewtest.py @@ -6,7 +6,7 @@ import math import sys import os -from os.path import join, dirname, isdir +from os.path import join, dirname from os import walk import shutil import concurrent.futures @@ -54,19 +54,14 @@ def ok(v, e): return insigma if targeterr is not None else (within20 or insigma) def scantree(path): - """Recursively yield DirEntry objects for given directory.""" + """Yield DirEntry objects for complete test label dirs, i.e. holding testresults_