tests: drivers: ipm: Add TC_SUITE_START/TC_SUITE_END
Apparently, this test cannot be immediately converted to ztest, but make the output match the standard ztest format, by wrapping it in a testsuite brackets. (Also, "cleanup" testcase name, TC_END_RESULT uses __func__ as the name, so just pass __func__ to TC_START either). Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
This commit is contained in:
parent
92ba428626
commit
25a553f800
1 changed files with 3 additions and 1 deletions
|
@ -79,7 +79,8 @@ void main(void)
|
|||
int rv, i;
|
||||
const struct device *ipm;
|
||||
|
||||
TC_START("Test IPM");
|
||||
TC_SUITE_START("test_ipm");
|
||||
TC_START(__func__);
|
||||
ipm = device_get_binding("ipm_dummy0");
|
||||
|
||||
/* Try sending a raw string to the IPM device to show that the
|
||||
|
@ -105,5 +106,6 @@ void main(void)
|
|||
|
||||
rv = TC_PASS;
|
||||
TC_END_RESULT(rv);
|
||||
TC_SUITE_END("test_ipm", rv);
|
||||
TC_END_REPORT(rv);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue