diff --git a/tests/test.c b/tests/test.c index f0d5c7c..785617b 100644 --- a/tests/test.c +++ b/tests/test.c @@ -351,7 +351,7 @@ int main(int argc, char **argv) dur = epoch_usec(); for (i = 0; i < sizeof(test_functions)/sizeof(test_functions[0]); ++i) { - if (single_test && strcmp(test_functions[i].name, single_test)) { + if (single_test && strstr(test_functions[i].name, single_test) == NULL) { continue; } dots = fn_len - strlen(test_functions[i].name);