Changeset b516a58 in rtems-tools


Ignore:
Timestamp:
Dec 5, 2017, 2:03:44 PM (23 months ago)
Author:
Joel Sherrill <joel@…>
Branches:
e9f48e9face6c4dea62712d73b35412c0fe10332
Children:
0333442
Parents:
149144f
Message:

tester/covoar/covoar.cc: Exit using exit() rather than just throwing.

Closes #3191.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tester/covoar/covoar.cc

    r149144f rb516a58  
    162162      default: /* '?' */
    163163        usage();
    164         exit( -1 );
     164        exit(EXIT_FAILURE);
    165165    }
    166166  }
     
    223223    std::cout << "error missing option: " + option << std::endl;
    224224    usage();
    225     throw;
     225    exit(EXIT_FAILURE);
    226226  }
    227227
     
    308308      stderr, "ERROR: No information to analyze\n"
    309309    );
    310     exit( -1 );
     310    exit(EXIT_FAILURE);
    311311  }
    312312
     
    373373  if (!coverageReader) {
    374374    fprintf( stderr, "ERROR: Unable to create coverage file reader\n" );
    375     exit(-1);
     375    exit(EXIT_FAILURE);
    376376  }
    377377
Note: See TracChangeset for help on using the changeset viewer.