Commit d1a584af authored by Vladimir Malenovsky's avatar Vladimir Malenovsky
Browse files

reformat startup output: show filter banner and all-tag test counts

parent 8842c2d9
Loading
Loading
Loading
Loading
+8 −9
Original line number Diff line number Diff line
@@ -588,10 +588,6 @@ class MLDConformance:
                )
            else:
                print(f"{pyTestTag} not found in ISAR decoder")
        print("No of tests (total, before filtering):")
        for tag in testDesciptor.keys():
            print(f"    {tag} : {len(testDesciptor[tag])}")

        return testDesciptor

    def genEncoderReferences(self, tag: str, encPytestTag: str):
@@ -1892,11 +1888,14 @@ if __name__ == "__main__":
    conformance = MLDConformance(args)
    conformance.accumulateCommands()

    if testTags or args.filter_display:
        print(f"Selected tests after filtering ({args.filter_display or 'no filter'}):")
        for tag in testTags:
            n = len(conformance.getSelectedTestsForTag(tag))
    if args.filter_display:
        print(f"Applying filter: {args.filter_display}")
        print()
    print("No of tests:")
    for tag in IVAS_Bins.keys():
        n = len(conformance.getSelectedTestsForTag(tag)) if tag in testTags else 0
        print(f"    {tag} : {n}")
    print()

    if args.regenerate_enc_refs:
        conformance.runReferenceGeneration(encTag="ISAR_ENC")