diff options
author | Ryan Long <ryan.long@oarcorp.com> | 2021-07-27 17:41:23 -0400 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2021-08-03 15:56:53 -0500 |
commit | 987d912435832aec118a02e6e2f2160f4319ca71 (patch) | |
tree | 81079b028db81ecc05ea2203a34f56c3324f78fb /tester/covoar/ReportsBase.h | |
parent | Remove dynamicLibrary global variable (diff) | |
download | rtems-tools-987d912435832aec118a02e6e2f2160f4319ca71.tar.bz2 |
Remove projectName global variable
- Replaced projectName in app_common with a local variable in covoar()
- Changed datatype to string
- Changed conditionals to reflect this
- Created projectName_m member variable for ReportsBase
- Added parameter to Reports* constructors to initialize projectName_m
Diffstat (limited to 'tester/covoar/ReportsBase.h')
-rw-r--r-- | tester/covoar/ReportsBase.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/tester/covoar/ReportsBase.h b/tester/covoar/ReportsBase.h index 41ac7ef..38b7c29 100644 --- a/tester/covoar/ReportsBase.h +++ b/tester/covoar/ReportsBase.h @@ -30,7 +30,8 @@ class ReportsBase { ReportsBase( time_t timestamp, const std::string& symbolSetName, - Coverage::Explanations& allExplanations + Coverage::Explanations& allExplanations, + const std::string& projectName ); virtual ~ReportsBase(); @@ -130,6 +131,11 @@ class ReportsBase { Coverage::Explanations& allExplanations_m; /*! + * This variable stores the name of the project. + */ + std::string projectName_m; + + /*! * This method Opens a report file and verifies that it opened * correctly. Upon failure NULL is returned. * @@ -401,11 +407,13 @@ class ReportsBase { * @param[in] symbolSetName is the name of the symbol set to report on. * @param[in] allExplanations is the explanations to report on. * @param[in] verbose specifies whether to be verbose with output + * @param[in] projectName specifies the name of the project */ void GenerateReports( const std::string& symbolSetName, Coverage::Explanations& allExplanations, - bool verbose + bool verbose, + const std::string& projectName ); } |