You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

lol-test.cpp 669 B

12345678910111213141516171819202122232425
  1. //
  2. // Lol Engine
  3. //
  4. // Copyright: (c) 2010-2011 Sam Hocevar <sam@hocevar.net>
  5. // This program is free software; you can redistribute it and/or
  6. // modify it under the terms of the Do What The Fuck You Want To
  7. // Public License, Version 2, as published by Sam Hocevar. See
  8. // http://sam.zoy.org/projects/COPYING.WTFPL for more details.
  9. //
  10. #if defined HAVE_CONFIG_H
  11. # include "config.h"
  12. #endif
  13. #include <cppunit/TextTestRunner.h>
  14. #include <cppunit/extensions/TestFactoryRegistry.h>
  15. int main(int argc, char *argv[])
  16. {
  17. CppUnit::TextTestRunner runner;
  18. runner.addTest(CppUnit::TestFactoryRegistry::getRegistry().makeTest());
  19. return !runner.run();
  20. }