mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
ldb:tests: Allow test filtering in ldb_mod_op_test
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Isaac Boukris <iboukris@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Thu Dec 5 17:13:36 UTC 2019 on sn-devel-184
This commit is contained in:
parent
520bb70dfd
commit
ea1c62f3c7
@ -4714,5 +4714,9 @@ int main(int argc, const char **argv)
|
|||||||
ldbtest_teardown),
|
ldbtest_teardown),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if (argc > 1) {
|
||||||
|
cmocka_set_test_filter(argv[1]);
|
||||||
|
}
|
||||||
|
|
||||||
return cmocka_run_group_tests(tests, NULL, NULL);
|
return cmocka_run_group_tests(tests, NULL, NULL);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user