<div dir="ltr"><div class="gmail_extra"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr">On 14 May 2018 at 02:15, Cillian O'Donnell <span dir="ltr"><<a href="mailto:cpodonnell8@gmail.com" target="_blank">cpodonnell8@gmail.com</a>></span> wrote:<br></div></div></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">---<br>
 tester/covoar/covoar.cc | 10 +++-------<br>
 1 file changed, 3 insertions(+), 7 deletions(-)<br>
<br>
diff --git a/tester/covoar/covoar.cc b/tester/covoar/covoar.cc<br>
index 5c87402..c6b0589 100644<br>
--- a/tester/covoar/covoar.cc<br>
+++ b/tester/covoar/covoar.cc<br>
@@ -75,7 +75,7 @@ static void createBuildPath(Executables& executablesToAnalyze,<br>
         if (buildPrefix.empty()) {<br>
           buildPrefix = *pri;<br>
         } else {<br>
-          if (buildBSP != *pri) {<br>
+          if (buildPrefix != *pri) {<br>
             fail = "executable build prefix does not match: " + buildPrefix;<br>
             break;<br>
           }<br>
@@ -97,7 +97,7 @@ static void createBuildPath(Executables& executablesToAnalyze,<br>
         if (buildPath.empty()) {<br>
           buildPath = thisBuildPath;<br>
         } else {<br>
-          if (buildBSP != *pri) {<br>
+          if (buildPath != thisBuildPath) {<br>
             fail = "executable build path does not match: " + buildPath;<br>
           }<br>
         }<br>
@@ -316,11 +316,7 @@ int main(<br>
         std::cerr << "warning: Unable to read executable: " << argv[i] << std::endl;<br>
       } else {<br>
         coverageFileName = argv[i];<br>
-        coverageFileName.replace(<br>
-          coverageFileName.length() - executableExtension.size(),<br>
-          executableExtension.size(),<br>
-          coverageExtension<br>
-        );<br>
+        coverageFileName.append( "." + coverageExtension );<br>
<br>
         if (!FileIsReadable( coverageFileName.c_str() )) {<br>
           std::cerr << "warning: Unable to read coverage file: " << coverageFileName<br>
<span class="HOEnZb"><font color="#888888">-- <br>
2.7.4<br>
<br></font></span></blockquote><div>This worked ! </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="HOEnZb"><font color="#888888">
______________________________<wbr>_________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/<wbr>mailman/listinfo/devel</a><br>
</font></span></blockquote></div><br></div></div>