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:
47
unit_tests/coverage.suite/formatting.out
Normal file
47
unit_tests/coverage.suite/formatting.out
Normal file
@@ -0,0 +1,47 @@
|
||||
e()
|
||||
{
|
||||
}
|
||||
|
||||
integer a;
|
||||
integer b;
|
||||
|
||||
f()
|
||||
{
|
||||
}
|
||||
|
||||
g()
|
||||
{
|
||||
}
|
||||
|
||||
integer c;
|
||||
integer d;
|
||||
|
||||
h()
|
||||
{
|
||||
}
|
||||
|
||||
default
|
||||
{
|
||||
timer()
|
||||
{
|
||||
}
|
||||
|
||||
touch(integer n)
|
||||
{
|
||||
}
|
||||
|
||||
touch_start(integer n)
|
||||
{
|
||||
}
|
||||
|
||||
touch_end(integer n)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
state s2
|
||||
{
|
||||
timer()
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user