Ignore:
Timestamp:
Aug 13, 2010, 7:30:03 PM (11 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/config_test.cc

    r1152 r1162  
    4242  test_props(suite);
    4343                                                                               
    44   if (suite.ok()) {
    45     suite.out() << "Test is Ok!" << std::endl;
    46     return 0;
    47   }
    48   suite.out() << "Test failed." << std::endl;
    49   return 1;
     44  return suite.exit_status();
    5045}
    5146
Note: See TracChangeset for help on using the changeset viewer.