Commit graph

5 commits

Author SHA1 Message Date
Sei Lisa
cf5ee2793a Make mismatches fail with assertTrue instead of assertEqual
We already report the differences even in diff format, and the scripts can get long. The output of assertEqual was not useful, therefore it's eliminated.
2019-01-05 22:50:12 +01:00
Sei Lisa
1a83213a40 Explain the states in the argument parser 2019-01-05 00:50:08 +01:00
Sei Lisa
40cd88e9f7 Minor pickiness
Even if the last char is a backslash, if we're inside a double quoted string, report unterminated string on EOF.
2019-01-05 00:09:50 +01:00
Sei Lisa
054539adf9 Make .fail files replace the docstring in order to be visible 2019-01-04 22:29:15 +01:00
Sei Lisa
1867dc78e7 Add the new test suite.
This test suite has been in use for a long time now, in place of the obsolete and unmanageable testparser.py and testfuncs.py. It verifies the complete optimizer output to stdout and stderr, to ensure that the output matches the expectations.

See unit_tests/README.txt for more info.
2019-01-04 20:27:36 +01:00