#Centipede Standardize logging when generating various reports PiperOrigin-RevId: 623459973
diff --git a/centipede/centipede.cc b/centipede/centipede.cc index 8cc5916..fd7b596 100644 --- a/centipede/centipede.cc +++ b/centipede/centipede.cc
@@ -518,7 +518,7 @@ if (pc_table_.empty()) return; auto coverage_path = wd_.CoverageReportPath(filename_annotation); - LOG(INFO) << "Generate coverage report: " << description << " " + LOG(INFO) << "Generate coverage report [" << description << "]; " << VV(coverage_path); auto pci_vec = fs_.ToCoveragePCs(); Coverage coverage(pc_table_, pci_vec); @@ -528,7 +528,7 @@ void Centipede::GenerateCorpusStats(std::string_view filename_annotation, std::string_view description) { auto stats_path = wd_.CorpusStatsPath(filename_annotation); - LOG(INFO) << "Generate corpus stats: " << description << " " + LOG(INFO) << "Generate corpus stats [" << description << "]; " << VV(stats_path); corpus_.DumpStatsToFile(fs_, stats_path, description); } @@ -539,7 +539,7 @@ if (env_.clang_coverage_binary.empty()) return; auto report_path = wd_.SourceBasedCoverageReportPath(filename_annotation); - LOG(INFO) << "Generate source based coverage report: " << description << " " + LOG(INFO) << "Generate source based coverage report [" << description << "]; " << VV(report_path); RemoteMkdir(report_path);
diff --git a/centipede/doc/Rich coverage signal and consequences for scaling.pdf b/centipede/doc/Rich coverage signal and consequences for scaling.pdf deleted file mode 100644 index cc637fa..0000000 --- a/centipede/doc/Rich coverage signal and consequences for scaling.pdf +++ /dev/null Binary files differ
diff --git a/centipede/testing/centipede_main_test.sh b/centipede/testing/centipede_main_test.sh index 600af25..9c36ee7 100755 --- a/centipede/testing/centipede_main_test.sh +++ b/centipede/testing/centipede_main_test.sh
@@ -90,7 +90,7 @@ echo "============ ${FUNC}: checking the coverage report" for COV_REPORT_TYPE in "initial" "latest"; do COV_REPORT="${WD}/coverage-report-$(basename "${TEST_TARGET_BINARY}").000000.${COV_REPORT_TYPE}.txt" - centipede::assert_regex_in_file "Generate coverage report:.*${COV_REPORT}" "${LOG}" + centipede::assert_regex_in_file "Generate coverage report.*${COV_REPORT}" "${LOG}" centipede::assert_regex_in_file "FULL: SingleEdgeFunc" "${COV_REPORT}" centipede::assert_regex_in_file "PARTIAL: LLVMFuzzerTestOneInput" "${COV_REPORT}" done