mirror of
https://git.proxmox.com/git/mirror_frr
synced 2026-01-25 23:28:03 +00:00
tests: have unit-test check more paths for the grpc.so module
Signed-off-by: Christian Hopps <chopps@labn.net>
This commit is contained in:
parent
a709218b53
commit
8e630c2946
@ -92,6 +92,17 @@ static void static_startup(void)
|
||||
grpc_module = frrmod_load("grpc:50051", modpath.c_str(),
|
||||
_err_print, 0);
|
||||
}
|
||||
if (!grpc_module) {
|
||||
modpath = std::string(binpath) +
|
||||
std::string("../../../lib/.libs");
|
||||
grpc_module = frrmod_load("grpc:50051", modpath.c_str(),
|
||||
_err_print, 0);
|
||||
}
|
||||
if (!grpc_module) {
|
||||
modpath = std::string(binpath) + std::string("../../../lib");
|
||||
grpc_module = frrmod_load("grpc:50051", modpath.c_str(),
|
||||
_err_print, 0);
|
||||
}
|
||||
if (!grpc_module)
|
||||
exit(1);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user