Ignore:
Timestamp:
Aug 13, 2010, 7:30:03 PM (12 years ago)
Author:
Peter Johansson
Message:

new function exit_status in Suite and use it in all C++ tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/copyright_test.cc

    r1119 r1162  
    126126  os.close();
    127127
    128   if (suite.ok()) {
    129     suite.out() << "Test is Ok!" << std::endl;
    130     return 0;
    131   }
    132   suite.out() << "Test failed." << std::endl;
    133   return 1;
     128  return suite.exit_status();
    134129}
    135130
Note: See TracChangeset for help on using the changeset viewer.