Commit 631fb37b authored by Walid Boudebouda's avatar Walid Boudebouda

vav_test: Run all tests even when failure encountered

parent b4fce772
......@@ -474,18 +474,17 @@ int
main(int argc, char **argv)
{
const struct test_case **tc;
int ret = 0;
int ret = 0, fail = 0;
(void)argc;
(void)argv;
for (tc = tests; ret == 0 && *tc != NULL; tc++) {
for (tc = tests; *tc != NULL; ret = 0, tc++) {
argv = test_run(*tc, &ret);
VAV_Free(argv);
if (ret)
return (1);
fail = 1;
}
return (0);
return (fail);
}
#endif /* TEST_DRIVER */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment