Table Of Contents

Previous topic

utils.py

This Page

Testing

Output comparison

Running output comparison is quite simple, you just run utils/output_tester.py from the simo root folder. On the parts that don’t match, you’ll get a listing of what was expected and what was gotten instead.

In case the results don’t match (that is, you’ve changed something and they shouldn’t match), you can fix it by first running the output_tester.py (if you didn’t already) and copying output.test from utils to utils/output_test_files. Likewise copy aggregation.txt, by_level.txt, expression.txt, inlined.txt and operation_result.txt from your output folder there.