<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr">On Sun, 13 May 2018, 22:15 Vijay Kumar Banerjee, <<a href="mailto:vijaykumar9597@gmail.com">vijaykumar9597@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div><div class="m_-7664953195649374258gmail_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" rel="noreferrer">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="m_-7664953195649374258HOEnZb"><font color="#888888">-- <br>
2.7.4<br>
<br></font></span></blockquote><div>This worked ! </div></div></div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Cool, looks like we're onto fixing the reports then. If you take a look at report.html only the headings are there. I think what might be wrong there is it's just searching in the wrong place for the results. The fix for that will lie in coverage.py. Warning about coverage.py, there could be whole sections in there that might just be deleted, it's still being reorganized.</div><div dir="auto"><br></div><div dir="auto">Or seeing as covoar is in good shape now and I think the txt report is ok (you should check and make sure of that). You could move onto gcov, lcov stuff. Figure out the state of the gcov support in covoar, generate gcov reports, compare the results.</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="m_-7664953195649374258HOEnZb"><font color="#888888">
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank" rel="noreferrer">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
</font></span></blockquote></div><br></div></div>
</blockquote></div></div></div>