diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/tests.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/tests.c b/tests/tests.c index c747488b..1ad9bb81 100644 --- a/tests/tests.c +++ b/tests/tests.c @@ -366,10 +366,13 @@ unsigned int __wrap_INL(unsigned short port) return 0; } -int main(void) +int main(int argc, char *argv[]) { int ret = 0; + if (argc > 1) + cmocka_set_test_filter(argv[1]); + cmocka_set_message_output(CM_OUTPUT_STDOUT); const struct CMUnitTest helpers_tests[] = { |