Skip to content

Commit

Permalink
Inspect all the tess_run command lines
Browse files Browse the repository at this point in the history
  • Loading branch information
starseeker committed Dec 7, 2023
1 parent 46a7805 commit a925e63
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/libged/facetize/tri_booleval.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,13 @@ tess_run(const char **tess_cmd, int tess_cmd_cnt, fastf_t max_time)
bakfile.close();
}

// Debugging
struct bu_vls cmd = BU_VLS_INIT_ZERO;
for (int i = 0; i < tess_cmd_cnt ; i++)
bu_vls_printf(&cmd, "%s ", tess_cmd[i]);
bu_log("%s\n", bu_vls_cstr(&cmd));
bu_vls_free(&cmd);

int timeout = 0;
int64_t start = bu_gettime();
int64_t elapsed = 0;
Expand Down Expand Up @@ -434,13 +441,6 @@ bisect_run(std::vector<struct directory *> &bad_dps, std::vector<struct director
tess_cmd[cmd_cnt+i] = inputs[i]->d_namep;
}

// Debugging
struct bu_vls cmd = BU_VLS_INIT_ZERO;
for (size_t i = 0; i < (size_t)cmd_cnt+inputs.size() ; i++)
bu_vls_printf(&cmd, "%s ", tess_cmd[i]);
bu_log("%s\n", bu_vls_cstr(&cmd));
bu_vls_free(&cmd);

int ret = tess_run(tess_cmd, cmd_cnt+inputs.size(), max_time);
if (ret) {
if (inputs.size() > 1) {
Expand Down

0 comments on commit a925e63

Please sign in to comment.