選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 
 
 
 

28 行
774 B

  1. /*
  2. * caca-test testsuite program for libcaca
  3. * Copyright (c) 2008 Sam Hocevar <sam@zoy.org>
  4. * All Rights Reserved
  5. *
  6. * $Id$
  7. *
  8. * This program is free software. It comes without any warranty, to
  9. * the extent permitted by applicable law. You can redistribute it
  10. * and/or modify it under the terms of the Do What The Fuck You Want
  11. * To Public License, Version 2, as published by Sam Hocevar. See
  12. * http://sam.zoy.org/wtfpl/COPYING for more details.
  13. */
  14. #include "config.h"
  15. #include <cppunit/TextTestRunner.h>
  16. #include <cppunit/extensions/TestFactoryRegistry.h>
  17. int main(int argc, char *argv[])
  18. {
  19. CppUnit::TextTestRunner runner;
  20. runner.addTest(CppUnit::TestFactoryRegistry::getRegistry().makeTest());
  21. return !runner.run();
  22. }