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.
25 lines
328 B
Plaintext
25 lines
328 B
Plaintext
REGEX
|
|
//start_unprocessed_text
|
|
/\*// Test inclusion of headers and invalidation of comments
|
|
/\*
|
|
|
|
blah
|
|
/\|\|\*
|
|
/\|\|\|\*
|
|
|
|
\*\|/
|
|
default\{timer\(\)\{\}\}
|
|
\*/
|
|
//end_unprocessed_text
|
|
//nfo_preprocessor_version 0
|
|
//program_version LSL PyOptimizer .* - Sei Lisa
|
|
//mono
|
|
|
|
// Generated on 20.*Z
|
|
default
|
|
\{
|
|
timer\(\)
|
|
\{
|
|
\}
|
|
\}
|