Ignore:
Timestamp:
Sep 7, 2011, 7:17:07 PM (8 years ago)
Author:
sam
Message:

test: replace CppUnit with our LolUnit test suite.

CppUnit is really too large for our needs, would require to be precompiled
for many platforms, in all combinations of debug and release modes, with
additional variants for libstdc++ versions. We replace it with our own
lightweight implementation, LolUnit. Good riddance.

File:
1 edited

Legend:

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

    r911 r912  
    1515#include <cstdio>
    1616
    17 #include <cppunit/TextTestRunner.h>
    18 #include <cppunit/extensions/TestFactoryRegistry.h>
     17#include <lol/unit.h>
    1918
    20 int main(int argc, char *argv[])
     19int main(void)
    2120{
    22     CppUnit::TextTestRunner runner;
    23     runner.addTest(CppUnit::TestFactoryRegistry::getRegistry().makeTest());
    24 
    25     int ret = !runner.run();
    26 
    27 #if defined _WIN32
    28     getchar();
    29 #endif
     21    lol::TestRunner runner;
     22    int ret = !runner.Run();
    3023    return ret;
    3124}
Note: See TracChangeset for help on using the changeset viewer.