<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>change log for gcc-testing (2010-05-11)</title>
</head>
<body text='#000000' bgcolor='#ffffff'>
<a name='cs1'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>joel</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-05-11 Joel Sherrill <joel.sherrilL@OARcorp.com>
* ReportsBase.h: Spacing.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//gcc-testing/rtems-coverage/ChangeLog.diff?r1=text&tr1=1.221&r2=text&tr2=1.222&diff_format=h">M</a></td><td width='1%'>1.222</td><td width='100%'>rtems-coverage/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//gcc-testing/rtems-coverage/ReportsBase.h.diff?r1=text&tr1=1.3&r2=text&tr2=1.4&diff_format=h">M</a></td><td width='1%'>1.4</td><td width='100%'>rtems-coverage/ReportsBase.h</td></tr>
</table>
<pre>
<font color='#006600'>diff -u gcc-testing/rtems-coverage/ChangeLog:1.221 gcc-testing/rtems-coverage/ChangeLog:1.222
--- gcc-testing/rtems-coverage/ChangeLog:1.221 Tue May 11 16:09:53 2010
+++ gcc-testing/rtems-coverage/ChangeLog Tue May 11 16:10:21 2010
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2010-05-11 Joel Sherrill <joel.sherrilL@OARcorp.com>
+
+ * ReportsBase.h: Spacing.
+
</font> 2010-05-11 Glenn Humphrey
* ReportsBase.cc: Fixed buffer overflow problem.
<font color='#006600'>diff -u gcc-testing/rtems-coverage/ReportsBase.h:1.3 gcc-testing/rtems-coverage/ReportsBase.h:1.4
--- gcc-testing/rtems-coverage/ReportsBase.h:1.3 Mon May 10 13:10:16 2010
+++ gcc-testing/rtems-coverage/ReportsBase.h Tue May 11 16:10:21 2010
</font><font color='#997700'>@@ -86,119 +86,118 @@
</font> A_NEVER_EXECUTED,
A_BRANCH_TAKEN,
A_BRANCH_NOT_TAKEN
<font color='#880000'>- }AnnotatedLineState_t;
</font><font color='#000088'>+ } AnnotatedLineState_t;
</font>
/*!
* This member variable contains the extension used for all reports.
*/
std::string reportExtension_m;
<font color='#880000'>-
- /*!
- * This method Opens a report file and verifies that it opended
- * correctly. Upon failure NULL is returned.
- *
- * @param[in] fileName identifies the size report file name
- */
</font><font color='#000088'>+ /*!
+ * This method Opens a report file and verifies that it opended
+ * correctly. Upon failure NULL is returned.
+ *
+ * @param[in] fileName identifies the size report file name
+ */
</font> virtual FILE* OpenFile(
const char* const fileName
);
<font color='#880000'>- /*!
- * This method d Opens a report file and verifies that it opended.
- * Then appedns any necessary header information onto the file.
- *
- * @param[in] fileName identifies the size report file name
- */
</font><font color='#000088'>+ /*!
+ * This method d Opens a report file and verifies that it opended.
+ * Then appedns any necessary header information onto the file.
+ *
+ * @param[in] fileName identifies the size report file name
+ */
</font> virtual FILE* OpenAnnotatedFile(
const char* const fileName
);
<font color='#880000'>- /*!
- * This method d Opens a report file and verifies that it opended.
- * Then appedns any necessary header information onto the file.
- *
- * @param[in] fileName identifies the size report file name
- */
</font><font color='#000088'>+ /*!
+ * This method d Opens a report file and verifies that it opended.
+ * Then appedns any necessary header information onto the file.
+ *
+ * @param[in] fileName identifies the size report file name
+ */
</font> virtual FILE* OpenBranchFile(
const char* const fileName
);
<font color='#880000'>- /*!
- * This method d Opens a report file and verifies that it opended.
- * Then appedns any necessary header information onto the file.
- *
- * @param[in] fileName identifies the size report file name
- */
</font><font color='#000088'>+ /*!
+ * This method d Opens a report file and verifies that it opended.
+ * Then appedns any necessary header information onto the file.
+ *
+ * @param[in] fileName identifies the size report file name
+ */
</font> virtual FILE* OpenCoverageFile(
const char* const fileName
);
<font color='#880000'>- /*!
- * This method d Opens a report file and verifies that it opended.
- * Then appedns any necessary header information onto the file.
- *
- * @param[in] fileName identifies the size report file name
- */
</font><font color='#000088'>+ /*!
+ * This method d Opens a report file and verifies that it opended.
+ * Then appedns any necessary header information onto the file.
+ *
+ * @param[in] fileName identifies the size report file name
+ */
</font> virtual FILE* OpenSizeFile(
const char* const fileName
);
<font color='#880000'>- /*!
- * This method Closes a report file.<span style="background-color: #FF0000"> </span>
- *
- * @param[in] fileName identifies the size report file name
- */
</font><font color='#000088'>+ /*!
+ * This method Closes a report file.<span style="background-color: #FF0000"> </span>
+ *
+ * @param[in] fileName identifies the size report file name
+ */
</font> void CloseFile(
FILE* aFile
);
<font color='#880000'>- /*!
- * This method puts any necessary footer information into
- * the report then closes the file.
- *
- * @param[in] fileName identifies the size report file name
- */
</font><font color='#000088'>+ /*!
+ * This method puts any necessary footer information into
+ * the report then closes the file.
+ *
+ * @param[in] fileName identifies the size report file name
+ */
</font> virtual void CloseAnnotatedFile(
FILE* aFile
);
<font color='#880000'>- /*!
- * This method puts any necessary footer information into
- * the report then closes the file.
- *
- * @param[in] fileName identifies the size report file name
- */
</font><font color='#000088'>+ /*!
+ * This method puts any necessary footer information into
+ * the report then closes the file.
+ *
+ * @param[in] fileName identifies the size report file name
+ */
</font> virtual void CloseBranchFile(
FILE* aFile
);
<font color='#880000'>- /*!
- * This method puts any necessary footer information into
- * the report then closes the file.
- *
- * @param[in] fileName identifies the size report file name
- */
</font><font color='#000088'>+ /*!
+ * This method puts any necessary footer information into
+ * the report then closes the file.
+ *
+ * @param[in] fileName identifies the size report file name
+ */
</font> virtual void CloseCoverageFile(
FILE* aFile
);
<font color='#880000'>- /*!
- * This method puts any necessary footer information into
- * the report then closes the file.
- *
- * @param[in] fileName identifies the size report file name
- */
</font><font color='#000088'>+ /*!
+ * This method puts any necessary footer information into
+ * the report then closes the file.
+ *
+ * @param[in] fileName identifies the size report file name
+ */
</font> virtual void CloseSizeFile(
FILE* aFile
);
<font color='#880000'>- /*!
- * This method puts any necessary footer information into
- * the report then closes the file.
- *
- * @param[in] fileName identifies the size report file name
- */
</font><font color='#000088'>+ /*!
+ * This method puts any necessary footer information into
+ * the report then closes the file.
+ *
+ * @param[in] fileName identifies the size report file name
+ */
</font> virtual void PutAnnotatedLine(<span style="background-color: #FF0000"> </span>
FILE* aFile,<span style="background-color: #FF0000"> </span>
AnnotatedLineState_t state,<span style="background-color: #FF0000"> </span>
<font color='#997700'>@@ -206,21 +205,21 @@
</font> uint32_t id<span style="background-color: #FF0000"> </span>
)=0;
<font color='#880000'>- /*!
- * This method puts any necessary footer information into
- * the report then closes the file.
- *
- * @param[in] fileName identifies the size report file name
- */
</font><font color='#000088'>+ /*!
+ * This method puts any necessary footer information into
+ * the report then closes the file.
+ *
+ * @param[in] fileName identifies the size report file name
+ */
</font> virtual bool PutNoBranchInfo(
FILE* report
) = 0;
<font color='#880000'>- /*!
- * This method puts a branch entry into the branch report.<span style="background-color: #FF0000"> </span>
- *
- * @param[in] fileName identifies the size report file name
- */
</font><font color='#000088'>+ /*!
+ * This method puts a branch entry into the branch report.<span style="background-color: #FF0000"> </span>
+ *
+ * @param[in] fileName identifies the size report file name
+ */
</font> virtual bool PutBranchEntry(
FILE* report,
unsigned int number,
<font color='#997700'>@@ -228,23 +227,23 @@
</font> Coverage::CoverageRanges::ranges_t::iterator rangePtr
)=0;
<font color='#880000'>- /*!
- * This method reports when no range is available for<span style="background-color: #FF0000"> </span>
- * a symbol in the coverage report.
- *
- * @param[in] fileName identifies the size report file name
- */
</font><font color='#000088'>+ /*!
+ * This method reports when no range is available for<span style="background-color: #FF0000"> </span>
+ * a symbol in the coverage report.
+ *
+ * @param[in] fileName identifies the size report file name
+ */
</font> virtual void putCoverageNoRange(
FILE* report,
unsigned int number,
std::string symbol
)=0;
<font color='#880000'>- /*!
- * This method puts a line in the coverage report.
- *
- * @param[in] fileName identifies the size report file name
- */
</font><font color='#000088'>+ /*!
+ * This method puts a line in the coverage report.
+ *
+ * @param[in] fileName identifies the size report file name
+ */
</font> virtual bool PutCoverageLine(
FILE* report,
unsigned int number,
<font color='#997700'>@@ -252,11 +251,11 @@
</font> Coverage::CoverageRanges::ranges_t::iterator ritr
)=0;
<font color='#880000'>- /*!
- * This method method puts a line into the size report.
- *
- * @param[in] fileName identifies the size report file name
- */
</font><font color='#000088'>+ /*!
+ * This method method puts a line into the size report.
+ *
+ * @param[in] fileName identifies the size report file name
+ */
</font> virtual bool PutSizeLine(
FILE* report,
unsigned int number,
</pre>
<p> </p>
<a name='cs2'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>joel</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-05-11 Joel Sherrill <joel.sherrilL@OARcorp.com>
* ReportsBase.cc, ReportsBase.h, ReportsHtml.cc, ReportsHtml.h,
ReportsText.cc: Properly report on no branch information available.
Distinguish between no branch information available and 100% branch
coverage.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//gcc-testing/rtems-coverage/ChangeLog.diff?r1=text&tr1=1.222&r2=text&tr2=1.223&diff_format=h">M</a></td><td width='1%'>1.223</td><td width='100%'>rtems-coverage/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//gcc-testing/rtems-coverage/ReportsBase.h.diff?r1=text&tr1=1.4&r2=text&tr2=1.5&diff_format=h">M</a></td><td width='1%'>1.5</td><td width='100%'>rtems-coverage/ReportsBase.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//gcc-testing/rtems-coverage/ReportsBase.cc.diff?r1=text&tr1=1.7&r2=text&tr2=1.8&diff_format=h">M</a></td><td width='1%'>1.8</td><td width='100%'>rtems-coverage/ReportsBase.cc</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//gcc-testing/rtems-coverage/ReportsHtml.h.diff?r1=text&tr1=1.2&r2=text&tr2=1.3&diff_format=h">M</a></td><td width='1%'>1.3</td><td width='100%'>rtems-coverage/ReportsHtml.h</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//gcc-testing/rtems-coverage/ReportsHtml.cc.diff?r1=text&tr1=1.3&r2=text&tr2=1.4&diff_format=h">M</a></td><td width='1%'>1.4</td><td width='100%'>rtems-coverage/ReportsHtml.cc</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//gcc-testing/rtems-coverage/ReportsText.cc.diff?r1=text&tr1=1.3&r2=text&tr2=1.4&diff_format=h">M</a></td><td width='1%'>1.4</td><td width='100%'>rtems-coverage/ReportsText.cc</td></tr>
</table>
<pre>
<font color='#006600'>diff -u gcc-testing/rtems-coverage/ChangeLog:1.222 gcc-testing/rtems-coverage/ChangeLog:1.223
--- gcc-testing/rtems-coverage/ChangeLog:1.222 Tue May 11 16:10:21 2010
+++ gcc-testing/rtems-coverage/ChangeLog Tue May 11 16:21:25 2010
</font><font color='#997700'>@@ -1,5 +1,12 @@
</font> 2010-05-11 Joel Sherrill <joel.sherrilL@OARcorp.com>
<font color='#000088'>+ * ReportsBase.cc, ReportsBase.h, ReportsHtml.cc, ReportsHtml.h,
+ ReportsText.cc: Properly report on no branch information available.
+ Distinguish between no branch information available and 100% branch
+ coverage.
+
+2010-05-11 Joel Sherrill <joel.sherrilL@OARcorp.com>
+
</font> * ReportsBase.h: Spacing.
2010-05-11 Glenn Humphrey
<font color='#006600'>diff -u gcc-testing/rtems-coverage/ReportsBase.h:1.4 gcc-testing/rtems-coverage/ReportsBase.h:1.5
--- gcc-testing/rtems-coverage/ReportsBase.h:1.4 Tue May 11 16:10:21 2010
+++ gcc-testing/rtems-coverage/ReportsBase.h Tue May 11 16:21:25 2010
</font><font color='#997700'>@@ -118,9 +118,11 @@
</font> * Then appedns any necessary header information onto the file.
*
* @param[in] fileName identifies the size report file name
<font color='#000088'>+ * @param[in] hasBranches indicates if there are branches to report
</font> */
virtual FILE* OpenBranchFile(
<font color='#880000'>- const char* const fileName
</font><font color='#000088'>+ const char* const fileName,
+ bool hasBranches
</font> );
/*!
<font color='#997700'>@@ -167,9 +169,11 @@
</font> * the report then closes the file.
*
* @param[in] fileName identifies the size report file name
<font color='#000088'>+ * @param[in] hasBranches indicates if there are branches to report
</font> */
virtual void CloseBranchFile(
<font color='#880000'>- FILE* aFile
</font><font color='#000088'>+ FILE* aFile,
+ bool hasBranches
</font> );
/*!
<font color='#006600'>diff -u gcc-testing/rtems-coverage/ReportsBase.cc:1.7 gcc-testing/rtems-coverage/ReportsBase.cc:1.8
--- gcc-testing/rtems-coverage/ReportsBase.cc:1.7 Tue May 11 16:09:53 2010
+++ gcc-testing/rtems-coverage/ReportsBase.cc Tue May 11 16:21:25 2010
</font><font color='#997700'>@@ -65,7 +65,8 @@
</font> }
FILE* ReportsBase::OpenBranchFile(
<font color='#880000'>- const char* const fileName
</font><font color='#000088'>+ const char* const fileName,
+ bool hasBranches
</font> )
{
return OpenFile(fileName);
<font color='#997700'>@@ -101,7 +102,8 @@
</font> }
void ReportsBase::CloseBranchFile(
<font color='#880000'>- FILE* aFile
</font><font color='#000088'>+ FILE* aFile,
+ bool hasBranches
</font> )
{
CloseFile( aFile );
<font color='#997700'>@@ -217,17 +219,23 @@
</font> Coverage::CoverageRanges::ranges_t::iterator ritr;
Coverage::CoverageRanges* theBranches;
unsigned int count;
<font color='#000088'>+ bool hasBranches = true;
</font>
<font color='#880000'>- // Open the branch report file
- report = OpenBranchFile( fileName );
</font><font color='#000088'>+ if ((SymbolsToAnalyze->getNumberBranchesFound() == 0) ||<span style="background-color: #FF0000"> </span>
+ (BranchInfoAvailable == false) )
+ hasBranches = false;
</font>
<font color='#000088'>+ // Open the branch report file
+ report = OpenBranchFile( fileName, hasBranches );
</font> if (!report)
return;
// If no branches were found of branch coverage is not supported
if ((SymbolsToAnalyze->getNumberBranchesFound() == 0) ||<span style="background-color: #FF0000"> </span>
(BranchInfoAvailable == false) ) {
<font color='#000088'>+
</font> PutNoBranchInfo(report);
<font color='#000088'>+
</font> // If branches were found, ...
} else {
<font color='#997700'>@@ -251,7 +259,7 @@
</font> }
}
<font color='#880000'>- CloseBranchFile( report );
</font><font color='#000088'>+ CloseBranchFile( report, hasBranches );
</font> }
/*
<font color='#006600'>diff -u gcc-testing/rtems-coverage/ReportsHtml.h:1.2 gcc-testing/rtems-coverage/ReportsHtml.h:1.3
--- gcc-testing/rtems-coverage/ReportsHtml.h:1.2 Mon May 10 13:10:16 2010
+++ gcc-testing/rtems-coverage/ReportsHtml.h Tue May 11 16:21:25 2010
</font><font color='#997700'>@@ -59,7 +59,8 @@
</font> AnnotatedLineState_t lastState_m;
virtual FILE* OpenBranchFile(
<font color='#880000'>- const char* const fileName
</font><font color='#000088'>+ const char* const fileName,
+ bool hasBranches
</font> );
virtual FILE* OpenCoverageFile(
<font color='#997700'>@@ -75,7 +76,8 @@
</font> );
virtual void CloseBranchFile(
<font color='#880000'>- FILE* aFile
</font><font color='#000088'>+ FILE* aFile,
+ bool hasBranches
</font> );
virtual void CloseCoverageFile(
<font color='#006600'>diff -u gcc-testing/rtems-coverage/ReportsHtml.cc:1.3 gcc-testing/rtems-coverage/ReportsHtml.cc:1.4
--- gcc-testing/rtems-coverage/ReportsHtml.cc:1.3 Mon May 10 14:08:36 2010
+++ gcc-testing/rtems-coverage/ReportsHtml.cc Tue May 11 16:21:25 2010
</font><font color='#997700'>@@ -55,7 +55,8 @@
</font> }
FILE* ReportsHtml::OpenBranchFile(
<font color='#880000'>- const char* const fileName
</font><font color='#000088'>+ const char* const fileName,
+ bool hasBranches
</font> )
{
FILE *aFile;
<font color='#997700'>@@ -63,29 +64,31 @@
</font> // Open the file
aFile = OpenFile(fileName);
<font color='#880000'>- // Put header information into the file
- fprintf( aFile, "<table class=\"covoar-table\">\n");
- fprintf( aFile, "<tbody class=\"covoar-tbody\">\n");
- fprintf( aFile, "<tr class=\"covoar-tr covoar-tr-first\">\n");
- fprintf( aFile, "<th class=\"covoar-th\">Index</th>\n");
- fprintf( aFile, "<th class=\"covoar-th\">Symbol</th>\n");
- fprintf( aFile, "<th class=\"covoar-th\">Line</th>\n");
- fprintf( aFile, "<th class=\"covoar-th\">Size</th>\n");
- fprintf( aFile, "<th class=\"covoar-th\">Size</th>\n");
- fprintf( aFile, "<th class=\"covoar-th\">Reason</th>\n");
- fprintf( aFile, "<th class=\"covoar-th\">Classification</th>\n");
- fprintf( aFile, "<th class=\"covoar-th\">Explanation</th>\n");
- fprintf( aFile, "</tr>\n");
-
- fprintf( aFile, "<tr class=\"covoar-tr covoar-tr-first\">\n");
- fprintf( aFile, "<th class=\"covoar-th\"></th>\n");
- fprintf( aFile, "<th class=\"covoar-th\"></th>\n");
- fprintf( aFile, "<th class=\"covoar-th\">Bytes</th>\n");
- fprintf( aFile, "<th class=\"covoar-th\">Instructions</th>\n");
- fprintf( aFile, "<th class=\"covoar-th\"></th>\n");
- fprintf( aFile, "<th class=\"covoar-th\"></th>\n");
- fprintf( aFile, "<th class=\"covoar-th\"></th>\n");
- fprintf( aFile, "</tr>\n");
</font><font color='#000088'>+ if ( hasBranches ) {
+ // Put header information into the file
+ fprintf( aFile, "<table class=\"covoar-table\">\n");
+ fprintf( aFile, "<tbody class=\"covoar-tbody\">\n");
+ fprintf( aFile, "<tr class=\"covoar-tr covoar-tr-first\">\n");
+ fprintf( aFile, "<th class=\"covoar-th\">Index</th>\n");
+ fprintf( aFile, "<th class=\"covoar-th\">Symbol</th>\n");
+ fprintf( aFile, "<th class=\"covoar-th\">Line</th>\n");
+ fprintf( aFile, "<th class=\"covoar-th\">Size</th>\n");
+ fprintf( aFile, "<th class=\"covoar-th\">Size</th>\n");
+ fprintf( aFile, "<th class=\"covoar-th\">Reason</th>\n");
+ fprintf( aFile, "<th class=\"covoar-th\">Classification</th>\n");
+ fprintf( aFile, "<th class=\"covoar-th\">Explanation</th>\n");
+ fprintf( aFile, "</tr>\n");
+
+ fprintf( aFile, "<tr class=\"covoar-tr covoar-tr-first\">\n");
+ fprintf( aFile, "<th class=\"covoar-th\"></th>\n");
+ fprintf( aFile, "<th class=\"covoar-th\"></th>\n");
+ fprintf( aFile, "<th class=\"covoar-th\">Bytes</th>\n");
+ fprintf( aFile, "<th class=\"covoar-th\">Instructions</th>\n");
+ fprintf( aFile, "<th class=\"covoar-th\"></th>\n");
+ fprintf( aFile, "<th class=\"covoar-th\"></th>\n");
+ fprintf( aFile, "<th class=\"covoar-th\"></th>\n");
+ fprintf( aFile, "</tr>\n");
+ }
</font>
return aFile;
}
<font color='#997700'>@@ -99,7 +102,6 @@
</font> // Open the file
aFile = OpenFile(fileName);
<font color='#880000'>-
</font> // Put header information into the file
fprintf( aFile, "<table class=\"covoar-table\">\n");
fprintf( aFile, "<tbody class=\"covoar-tbody\">\n");
<font color='#997700'>@@ -125,7 +127,6 @@
</font> // Open the file
aFile = OpenFile(fileName);
<font color='#880000'>-
</font> // Put header information into the file
fprintf( aFile, "<table class=\"covoar-table\">\n");
fprintf( aFile, "<tbody class=\"covoar-tbody\">\n");
<font color='#997700'>@@ -135,8 +136,6 @@
</font> fprintf( aFile, "<th class=\"covoar-th\">File</th>\n");
fprintf( aFile, "</tr>\n");
<font color='#880000'>-
-
</font> return aFile;
}
<font color='#997700'>@@ -209,11 +208,13 @@
</font> FILE* report
)
{
<font color='#880000'>- fprintf( report, "No branch information found\n" );
</font><font color='#000088'>+ if ( BranchInfoAvailable )
+ fprintf( report, "All branch paths taken.\n" );
+ else
+ fprintf( report, "No branch information found.\n" );
</font> return true;
}
<font color='#880000'>-
</font> bool ReportsHtml::PutBranchEntry(
FILE* report,
unsigned int count,
<font color='#997700'>@@ -523,11 +524,14 @@
</font> }
void ReportsHtml::CloseBranchFile(
<font color='#880000'>- FILE* aFile
</font><font color='#000088'>+ FILE* aFile,
+ bool hasBranches
</font> )
{
<font color='#880000'>- fprintf( aFile, "</tbody>\n" );
- fprintf( aFile, "</table>\n" );
</font><font color='#000088'>+ if ( hasBranches ) {
+ fprintf( aFile, "</tbody>\n" );
+ fprintf( aFile, "</table>\n" );
+ }
</font> fprintf( aFile, "</pre>\n" );
fprintf( aFile, "</body>\n");
fprintf( aFile, "</html>");
<font color='#006600'>diff -u gcc-testing/rtems-coverage/ReportsText.cc:1.3 gcc-testing/rtems-coverage/ReportsText.cc:1.4
--- gcc-testing/rtems-coverage/ReportsText.cc:1.3 Mon May 10 13:10:16 2010
+++ gcc-testing/rtems-coverage/ReportsText.cc Tue May 11 16:21:25 2010
</font><font color='#997700'>@@ -35,7 +35,10 @@
</font> FILE* report
)
{
<font color='#880000'>- fprintf( report, "No branch information found\n" );
</font><font color='#000088'>+ if ( BranchInfoAvailable )
+ fprintf( report, "All branch paths taken.\n" );
+ else
+ fprintf( report, "No branch information found.\n" );
</font> return true;
}
</pre>
<p> </p>
<p>--<br />
<small>Generated by <a href="http://www.codewiz.org/projects/index.html#loginfo">Deluxe Loginfo</a> 2.122 by Bernardo Innocenti <bernie@develer.com></small></p>
</body>
</html>