/trunk/kernel/generic/src/console/cmd.c |
---|
1135,6 → 1135,14 |
test_t *test; |
uint32_t cnt = argv[1].intval; |
if (str_cmp((char *) argv->buffer, "*") == 0) { |
for (test = tests; test->name != NULL; test++) { |
if (test->safe) { |
if (!run_bench(test, cnt)) |
break; |
} |
} |
} else { |
bool fnd = false; |
for (test = tests; test->name != NULL; test++) { |
1152,6 → 1160,7 |
if (!fnd) |
printf("Unknown test\n"); |
} |
return 1; |
} |