If the setup function returns TEST_SKIPPED, the logs would say the test
case is skipped while the summary count would consider it under failed
cases. Address this by counting such test cases under 'skipped'.
Signed-off-by: Anoob Joseph <anoobj@marvell.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
suite->failed++;
} else if (test_success == -ENOTSUP) {
suite->unsupported++;
+ } else if (test_success == TEST_SKIPPED) {
+ suite->skipped++;
} else {
suite->failed++;
}