Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/ExprSynthesizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1567,18 +1567,18 @@ class StringConstTester : public BasicTester {
buildEnv["COMPILE_CMD"] = GCC_CMD;
std::vector<long long> build_succ = P.buildWithRepairedCode(CLANG_TEST_WRAP, buildEnv, code,macroCode,macroFile);
if (build_succ.size()==0) {
outlog_printf(2, "Build failed!");
outlog_printf(2, "Build failed!\n");
return std::map<NewCodeMapTy, double>();
}

bool passed = testNegativeCases(BenchProgram::EnvMapTy());
if (!passed) {
outlog_printf(2, "Failed negative cases!");
outlog_printf(2, "Failed negative cases!\n");
return std::map<NewCodeMapTy, double>();
}
passed = testPositiveCases(BenchProgram::EnvMapTy());
if (!passed) {
outlog_printf(2, "Failed positive cases!");
outlog_printf(2, "Failed positive cases!\n");
return std::map<NewCodeMapTy, double>();
}

Expand Down
2 changes: 1 addition & 1 deletion src/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ int main(int argc, char* argv[]) {
std::string run_work_dir = RunWorkDir.getValue();

if ((config_file_name == "") && (run_work_dir == "")) {
outlog_printf(0, "Must specify configuration file or existing working directory!");
outlog_printf(0, "Must specify configuration file or existing working directory!\n");
exit(1);
}

Expand Down
2 changes: 1 addition & 1 deletion src/RepairSearchEngine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ int RepairSearchEngine::run(const std::string &out_file, size_t try_at_least,
if (cnt == 0)
outlog_printf(1, "Repair process ends without working fix!!\n");
else
outlog_printf(1, "Repair process ends!");
outlog_printf(1, "Repair process ends!\n");
outlog_printf(1, "Total %lu different repair schemas!!!!\n", schema_cnt);
outlog_printf(1, "Total %lu different repair candidate templates for scoring!!!\n", candidate_cnt);
return 1;
Expand Down