}
}
+ if (!flag_use_stdout)
+ executed_summary (total_lines, total_executed);
+
return 0;
}
\f
}
name_map needle;
-
- if (file_name)
- {
- needle.name = file_name;
- vector<name_map>::iterator it = std::find (names.begin (), names.end (),
- needle);
- if (it != names.end ())
- file_name = sources[it->src].coverage.name;
- else
- file_name = canonicalize_name (file_name);
- }
+ needle.name = file_name;
+ vector<name_map>::iterator it
+ = std::find (names.begin (), names.end (), needle);
+ if (it != names.end ())
+ file_name = sources[it->src].coverage.name;
+ else
+ file_name = canonicalize_name (file_name);
gcov_intermediate_filename = get_gcov_intermediate_filename (file_name);
if (flag_gcov_file)
{
if (flag_json_format)
- output_json_intermediate_file (json_files, src);
+ {
+ output_json_intermediate_file (json_files, src);
+ if (!flag_use_stdout)
+ fnotice (stdout, "\n");
+ }
else
{
if (flag_use_stdout)
}
}
}
-
- if (!file_name)
- executed_summary (total_lines, total_executed);
}
/* Release all memory used. */