Tiny script to compare SIMPL test outputs to supplied test cases.
- Python 3.10
- SIMPL Project :P
- Make a new folder (or use an existing one) in the root of the project called
tests
- Place extracted folders from the Official Test Cases (ie.
01_scanner
and02_parser
) in thetests
folder
- Place
testcases.py
in thetests
folder, too
- Run the following command from within the
tests
folder:
$ python3.10 testcases.py scanner
- wherein
scanner
can be substituted by any of the followingparser
(tests parser)all
(tests scanner and parser)compile
(only tests to see if testscanner and testparser can compile)