Blame test/mpi/maint/README
|
Packit |
0848f5 |
This readme describes the plan for generating tests automatically
|
|
Packit |
0848f5 |
from the description in the structured comment, along with some
|
|
Packit |
0848f5 |
additional information.
|
|
Packit |
0848f5 |
|
|
Packit |
0848f5 |
For each source file:
|
|
Packit |
0848f5 |
1. Find the structured comment (/*@)
|
|
Packit |
0848f5 |
2. Find the "Input Parameters" entry and read the parameters (lines
|
|
Packit |
0848f5 |
starting with +, . and ending with -; single args use .
|
|
Packit |
0848f5 |
3. Find the "Output Parameters" and match types as for input parameters
|
|
Packit |
0848f5 |
4. For each input parameter, check the defined values (range) and
|
|
Packit |
0848f5 |
generate test calls. E.g., for ravalude that should be non-negatiuve
|
|
Packit |
0848f5 |
integers, make a call with a negative value.
|
|
Packit |
0848f5 |
5. Use template for the start/end of the test program
|