diff --git a/pyproject.toml b/pyproject.toml index 7d2a4dac..a4186784 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,7 +10,7 @@ filterwarnings = ["error"] testpaths = ["python/tests"] [tool.cibuildwheel] -build-verbosity = 3 +build-verbosity = 0 #manylinux-x86_64-image = "manylinux_2_28" environment = "CMAKE_ARGS_F=/tmp/cmake_args" diff --git a/tests/test_units.cpp b/tests/test_units.cpp index 63453439..b15f83a9 100644 --- a/tests/test_units.cpp +++ b/tests/test_units.cpp @@ -82,7 +82,7 @@ static char const* path() { static std::string config() { auto dir = path(); if (!dir) - return {}; + return ""; return fmt::format(R"({{"version": "1.0", "directory": "{}"}})", dir); } @@ -2280,8 +2280,8 @@ int main(int argc, char** argv) { auto srv_id = fork(); if (srv_id == 0) { usleep(1); // TODO Any statement is required to be run for successful `execl` run... - std::string cli_args = fmt::format("--quiet --config {}", path()); - execl(srv_path.c_str(), srv_path.c_str(), cli_args, (char*)(NULL)); + std::string cli_args = "--quiet" + (path() ? fmt::format(" --config {}", path()) : ""); + execl(srv_path.c_str(), srv_path.c_str(), cli_args.c_str(), (char*)(NULL)); exit(0); } usleep(1000000); // 1 sec