diff --git a/lib/ldb/tests/ldb_mod_op_test.c b/lib/ldb/tests/ldb_mod_op_test.c index 13bfb36e74e..0aa9ac2ce27 100644 --- a/lib/ldb/tests/ldb_mod_op_test.c +++ b/lib/ldb/tests/ldb_mod_op_test.c @@ -4714,5 +4714,9 @@ int main(int argc, const char **argv) ldbtest_teardown), }; + if (argc > 1) { + cmocka_set_test_filter(argv[1]); + } + return cmocka_run_group_tests(tests, NULL, NULL); }