3 # For every *.asn file, run it through test.py and pipe
4 # the result back to Python.
5 # This checks two things:
6 # 1) All steps of parsing and codegen run without exceptions
7 # 2) The end result is valid Python
8 # Note that it does not say anything about correctness or
9 # completeness of the generated code.
11 export PYTHONPATH=`pwd`
12 for f in testdata/*.asn;
15 python asn1ate/test.py $f | python