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.
This commit is contained in:
24
unit_tests/coverage.suite/include-header.out
Normal file
24
unit_tests/coverage.suite/include-header.out
Normal file
@@ -0,0 +1,24 @@
|
||||
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\(\)
|
||||
\{
|
||||
\}
|
||||
\}
|
||||
Reference in New Issue
Block a user