From 1d98b95256e83b47ce22695dbd846b707c1dbbc0 Mon Sep 17 00:00:00 2001 From: canterburym Date: Wed, 26 Feb 2020 17:54:13 +0100 Subject: [PATCH] Revert "Initial commit - gitignore and test fixtures" This reverts commit 4645384825b35e0f0e0ca006e31495681bab5ed8 --- .gitignore | 13 ------------- .gitlab-ci.yml | 20 -------------------- testing/check_asn1.py | 17 ----------------- 3 files changed, 50 deletions(-) delete mode 100644 .gitignore delete mode 100644 .gitlab-ci.yml delete mode 100644 testing/check_asn1.py diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 9c0dc94..0000000 --- a/.gitignore +++ /dev/null @@ -1,13 +0,0 @@ -# OS cruft -.DS_Store -.DS_Store? -._* -.Spotlight-V100 -.Trashes -ehthumbs.db -Thumbs.db - -# Standards cruft -.doc -.docx -.zip \ No newline at end of file diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index 9268863..0000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,20 +0,0 @@ -image: "python:3.7" - -before_script: - - python --version - - pip install -q asn1tools - - pip install -q lxml - - pip install -q xmlschema - -stages: - - Check ASN.1 - -checkASN1: - stage: Check ASN.1 - script: - - python test/check_asn1.py - -checkXSD: - stage: Check ASN.1 - script: - - python test/check_xsd.py \ No newline at end of file diff --git a/testing/check_asn1.py b/testing/check_asn1.py deleted file mode 100644 index 9c896b6..0000000 --- a/testing/check_asn1.py +++ /dev/null @@ -1,17 +0,0 @@ -from asn1tools import parse_files, ParseError -import sys -from glob import glob -from pathlib import Path - - -schemaFileGlob = glob("*.asn1") -if (len(schemaFileGlob) != 1): - sys.exit("Found {0} XSD files, 1 expected".format(len(schemaFileGlob))) - -schemaFile = schemaFileGlob[0] -try: - parse_files(schemaFile) -except ParseError as ex: - sys.exit("ASN1 parser error: " + ex) - -print ("ASN1 schema OK") -- GitLab