Commit 6be165b8 authored by Jan Kiene's avatar Jan Kiene
Browse files

filter out skipped cases b4 loop for one less indent

parent 5920a4cd
Loading
Loading
Loading
Loading
+69 −69
Original line number Diff line number Diff line
@@ -112,8 +112,10 @@ if __name__ == "__main__":
            results[fmt][cat] = {}
    count = {"PASS": 0, "FAIL": 0, "ERROR": 0}

    # filter out skipped testcases
    testcases = [tc for tc in testcases if tc.find(".//skipped") is not None]

    for testcase in testcases:
        if testcase.find(".//skipped") is None:
        if testcase.get("file") is None:
            fulltestname = (
                testcase.get("classname").replace(".", "/")
@@ -175,9 +177,7 @@ if __name__ == "__main__":
                for propertyname, propertyvalue in zip(
                    PROPERTIES, properties_values[s]
                ):
                        results[fmt][cat][fulltestname_split][propertyname] = (
                            propertyvalue
                        )
                    results[fmt][cat][fulltestname_split][propertyname] = propertyvalue
        else:
            results[fmt][cat][fulltestname] = {"Result": testresult}
            for propertyname, propertyvalue in zip(PROPERTIES, properties_values):