Commit 3d2bcdbc authored by canterburym's avatar canterburym

Adds CD/CD fixtures

parent 15d555b1
image: "python:3.7"
before_script:
- python3 --version
- pip3 install -q asn1tools
stages:
- Check ASN.1
checkASN1:
stage: Check ASN.1
script:
- python3 testing/check_asn1.py
\ No newline at end of file
from asn1tools import parse_files, ParseError
import sys
from glob import glob
from pathlib import Path
schemaFileGlob = glob("*.asn1")
for schemaFile in schemaFileGlob:
try:
parse_files(schemaFile)
except ParseError as ex:
sys.exit("ASN1 parser error: " + str(ex))
print ("ASN1 schema OK")
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