Test result type for better test management
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| logical, | public | :: | passed | = | .true. | ||
| character(len=256), | public | :: | message | = | "" | ||
| integer, | public | :: | error_count | = | 0 | 
Mark test as failed with error message
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(test_result_t), | intent(inout) | :: | this | |||
| character(len=*), | intent(in) | :: | message | 
Get test status as integer code
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(test_result_t), | intent(in) | :: | this |