Skip to content

Commit

Permalink
Merge pull request #415 from unum-cloud/release-pre-release-correctio…
Browse files Browse the repository at this point in the history
…ns-builds-tests-warnings-docs
  • Loading branch information
ashvardanian authored Aug 8, 2023
2 parents 66c5080 + 055227f commit 7b5894d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
6 changes: 3 additions & 3 deletions tests/test_units.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 7b5894d

Please sign in to comment.