Commit 68a81da0 authored by Davide Galassi's avatar Davide Galassi

Test framework fix

parent fd6c8471
Pipeline #31514358 passed with stages
in 1 minute and 26 seconds
......@@ -214,13 +214,15 @@ static void parse_args(int argc, char *argv[])
i++;
}
/* Eventually disable some tests */
while (i < argc) {
if (i < argc) {
memset(g_test_skip, 1, sizeof(g_test_skip));
for (j = 0; j < NTESTS; j++) {
if (strcmp(argv[i], g_test_str[j]) == 0)
g_test_skip[j] = 0;
}
i++;
do {
for (j = 0; j < NTESTS; j++) {
if (strcmp(argv[i], g_test_str[j]) == 0)
g_test_skip[j] = 0;
}
i++;
} while (i < argc);
}
}
......
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