Commit 30312d95 authored by canterburym's avatar canterburym
Browse files

Update test fixture

parent 3d2bcdbc
...@@ -7,8 +7,10 @@ from pathlib import Path ...@@ -7,8 +7,10 @@ from pathlib import Path
schemaFileGlob = glob("*.asn1") schemaFileGlob = glob("*.asn1")
for schemaFile in schemaFileGlob: for schemaFile in schemaFileGlob:
try: try:
print("Checking file: {0}".format(schemaFile), end="")
parse_files(schemaFile) parse_files(schemaFile)
print("OK")
except ParseError as ex: except ParseError as ex:
sys.exit("ASN1 parser error: " + str(ex)) sys.exit("ASN1 parser error: " + str(ex))
print ("ASN1 schema OK") print ("{0} ASN.1 schemas checked".format(len(schemaFileGlob)))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment