source: trunk/test/testsuite.cpp @ 2297

Last change on this file since 2297 was 2297, checked in by sam, 7 years ago

base: implement UNUSED() macro and put it here and there.

  • Property svn:keywords set to Id
File size: 640 bytes
Line 
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://www.wtfpl.net/ for more details.
9//
10
11#if defined HAVE_CONFIG_H
12#   include "config.h"
13#endif
14
15#include <cstdio>
16#include <cstdlib>
17
18#include "core.h"
19
20#include <lol/unit.h>
21
22int main(int argc, char **argv)
23{
24    UNUSED(argc, argv);
25
26    lol::TextTestRunner runner;
27    bool success = runner.Run();
28    return success ? EXIT_SUCCESS : EXIT_FAILURE;
29}
30
Note: See TracBrowser for help on using the repository browser.