[PATCH v2] covoar: fix the extension mismatch in trace file
Chris Johns
chrisj at rtems.org
Sun May 13 04:39:34 UTC 2018
On 13/5/18 3:38 pm, thelunatic wrote:
> - read the trace files with .exe.cov extention
> ---
> tester/covoar/covoar.cc | 6 +-----
> 1 file changed, 1 insertion(+), 5 deletions(-)
>
> diff --git a/tester/covoar/covoar.cc b/tester/covoar/covoar.cc
> index 5bed98f..f03edc7 100644
> --- a/tester/covoar/covoar.cc
> +++ b/tester/covoar/covoar.cc
> @@ -317,11 +317,7 @@ int main(
> std::cerr << "warning: Unable to read executable: " << argv[i] << std::endl;
> } else {
> coverageFileName = argv[i];
> - coverageFileName.replace(
> - coverageFileName.length() - executableExtension.size(),
> - executableExtension.size(),
> - coverageExtension
> - );
> + coverageFileName.append('.'+coverageExtension);
>
Please see the other thread.
Chris
More information about the devel
mailing list