Changeset 8e44429 in rtems-testing


Ignore:
Timestamp:
May 6, 2010, 5:54:13 PM (9 years ago)
Author:
Jennifer Averett <Jennifer.Averett@…>
Branches:
4.11, 8895273c193787f84c4585a10f6d6aceb3b25dc4
Children:
fd68160
Parents:
7c90ee8
Message:

2010-05-06 Jennifer.Averett <Jennifer.Averett>

  • Makefile, covoar.cc: Split Reports into a Report Base and Report Text file to make room for a design allowing multiple types of reported files.
  • ReportsBase?.cc, ReportsBase?.h, ReportsText?.cc, ReportsText?.h: New files.
  • Reports.cc, Reports.h: Removed.
Location:
rtems-coverage
Files:
4 added
2 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • rtems-coverage/ChangeLog

    r7c90ee8 r8e44429  
     12010-05-06      Jennifer.Averett <Jennifer.Averett>
     2
     3        * Makefile, covoar.cc: Split Reports into a Report Base and Report Text
     4        file to make room for a design allowing multiple types of reported
     5        files.
     6        * ReportsBase.cc, ReportsBase.h, ReportsText.cc, ReportsText.h: New
     7        files.
     8        * Reports.cc, Reports.h: Removed.
     9
    1102010-05-06      Joel Sherrill <joel.sherrill@oarcorp.com>
    211
  • rtems-coverage/Makefile

    r7c90ee8 r8e44429  
    2626  Explanations.o \
    2727  ObjdumpProcessor.o \
    28   Reports.o \
     28  ReportsBase.o \
     29  ReportsText.o \
    2930  SymbolTable.o \
    3031  Target_arm.o  \
     
    119120ObjdumpProcessor.o: ObjdumpProcessor.cc ObjdumpProcessor.h ExecutableInfo.h \
    120121  TargetBase.h TargetFactory.h
    121 Reports.o: Reports.cc Reports.h CoverageRanges.h DesiredSymbols.h \
     122ReportsBase.o: ReportsBase.cc ReportsBase.h CoverageRanges.h DesiredSymbols.h \
    122123  Explanations.h ObjdumpProcessor.h
     124ReportsText.o: ReportsBase.h ReportsText.cc
    123125SymbolTable.o: SymbolTable.cc SymbolTable.h
    124126Target_arm.o: Target_arm.cc Target_arm.h TargetBase.h
  • rtems-coverage/covoar.cc

    r7c90ee8 r8e44429  
    2424#include "Explanations.h"
    2525#include "ObjdumpProcessor.h"
    26 #include "Reports.h"
     26#include "ReportsBase.h"
    2727
    2828/*
    2929 *  Variables to control general behavior
    3030 */
    31 const char*                          branchReportFile = "branch.txt";
    3231char*                                coverageFileExtension = NULL;
    3332std::list<std::string>               coverageFileNames;
     
    3534Coverage::CoverageFormats_t          coverageFormat;
    3635Coverage::CoverageReaderBase*        coverageReader = NULL;
    37 const char*                          coverageReportFile = "uncovered.txt";
    3836char*                                executable = NULL;
    3937char*                                executableExtension = NULL;
     
    4341char*                                progname;
    4442bool                                 singleExecutable = false;
    45 const char*                          sizeReportFile = "sizes.txt";
    4643const char*                          symbolsFile = NULL;
    4744const char*                          target = NULL;
     
    366363  // Report the coverage data.
    367364  //
    368 
    369   // Generate report of ranges not executed.
    370   if (Verbose)
    371     fprintf( stderr, "Writing coverage report (%s)\n", coverageReportFile );
    372   Coverage::WriteCoverageReport( coverageReportFile );
    373 
    374   // Generate report of branches taken/not taken.
    375   if (Verbose)
    376     fprintf( stderr, "Writing branch report (%s)\n", branchReportFile );
    377   Coverage::WriteBranchReport( branchReportFile );
    378 
    379   // Generate report of range sizes.
    380   if (Verbose)
    381     fprintf( stderr, "Writing size report (%s)\n", sizeReportFile );
    382   Coverage::WriteSizeReport( sizeReportFile );
    383 
    384   // Generate annotated assembly file
    385   if (Verbose)
    386     fprintf( stderr, "Writing annotated report (%s)\n", "annotated.txt" );
    387   Coverage::WriteAnnotatedReport( "annotated.txt" );
     365  Coverage::GenerateReports();
    388366
    389367  // Write explanations that were not found.
Note: See TracChangeset for help on using the changeset viewer.