Ignore:
Timestamp:
Sep 8, 2011, 12:21:26 AM (9 years ago)
Author:
sam
Message:

test: make LolUnit's output match CppUnit's more closely.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/lol-test.cpp

    r912 r913  
    1414
    1515#include <cstdio>
     16#include <cstdlib>
    1617
    1718#include <lol/unit.h>
     
    2021{
    2122    lol::TestRunner runner;
    22     int ret = !runner.Run();
    23     return ret;
     23    bool success = runner.Run();
     24    return success ? EXIT_SUCCESS : EXIT_FAILURE;
    2425}
    2526
Note: See TracChangeset for help on using the changeset viewer.