source: trunk/test/testsuite.cpp @ 1412

Last change on this file since 1412 was 961, checked in by sam, 10 years ago

build: fix a shitload of build errors introduced by the Image refactoring
and the OS X port.

  • Property svn:keywords set to Id
File size: 682 bytes
RevLine 
[642]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
11#if defined HAVE_CONFIG_H
12#   include "config.h"
13#endif
14
[911]15#include <cstdio>
[913]16#include <cstdlib>
[911]17
[961]18#if USE_SDL && defined __APPLE__
[958]19#   include <SDL_main.h>
20#endif
21
[912]22#include <lol/unit.h>
[642]23
[958]24int main(int argc, char **argv)
[642]25{
[919]26    lol::TextTestRunner runner;
[934]27    bool success = runner.Run();
[913]28    return success ? EXIT_SUCCESS : EXIT_FAILURE;
[642]29}
30
Note: See TracBrowser for help on using the repository browser.