Merge branch 'master' of https://github.com/vanrein/asn2quickder
[asn2quickder] / basic_test.bat
1 @ECHO OFF
2
3 REM For every *.asn file, run it through test.py and pipe
4 REM the result back to Python.
5 REM This checks two things:
6 REM 1) All steps of parsing and codegen run without exceptions
7 REM 2) The end result is valid Python
8 REM Note that it does not say anything about correctness or
9 REM completeness of the generated code.
10
11 FOR %%t IN (testdata\*.asn) DO (
12 @ECHO Checking %%t
13 python asn1ate\test.py %%t | python
14 )