Changeset 70dac81 in rtems-tools


Ignore:
Timestamp:
May 14, 2018, 7:26:21 PM (12 months ago)
Author:
Cillian O'Donnell <cpodonnell8@…>
Branches:
master
Children:
e04699b
Parents:
b0b9366
git-author:
Cillian O'Donnell <cpodonnell8@…> (05/14/18 19:26:21)
git-committer:
Joel Sherrill <joel@…> (05/14/18 20:06:19)
Message:

covoar: Fix build path checks for multiple executables.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tester/covoar/covoar.cc

    rb0b9366 r70dac81  
    7676          buildPrefix = *pri;
    7777        } else {
    78           if (buildBSP != *pri) {
     78          if (buildPrefix != *pri) {
    7979            fail = "executable build prefix does not match: " + buildPrefix;
    8080            break;
     
    9898          buildPath = thisBuildPath;
    9999        } else {
    100           if (buildBSP != *pri) {
     100          if (buildPath != thisBuildPath) {
    101101            fail = "executable build path does not match: " + buildPath;
    102102          }
     
    317317      } else {
    318318        coverageFileName = argv[i];
    319         coverageFileName.replace(
    320           coverageFileName.length() - executableExtension.size(),
    321           executableExtension.size(),
    322           coverageExtension
    323         );
     319        coverageFileName.append( "." + coverageExtension );
    324320
    325321        if (!FileIsReadable( coverageFileName.c_str() )) {
Note: See TracChangeset for help on using the changeset viewer.