~ubuntu-branches/debian/stretch/ccache/stretch

« back to all changes in this revision

Viewing changes to test/main.c

  • Committer: Package Import Robot
  • Author(s): Joel Rosdahl
  • Date: 2015-08-16 15:45:28 UTC
  • mto: This revision was merged to the branch mainline in revision 22.
  • Revision ID: package-import@ubuntu.com-20150816154528-kptqqpx9pezio0yn
Tags: upstream-3.2.3
ImportĀ upstreamĀ versionĀ 3.2.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
#include "getopt_long.h"
25
25
#endif
26
26
 
27
 
#define SUITE(name) unsigned suite_##name(unsigned);
 
27
#define SUITE(name) unsigned suite_ ## name(unsigned);
28
28
#include "test/suites.h"
29
29
#undef SUITE
30
30
 
31
31
const char USAGE_TEXT[] =
32
 
        "Usage:\n"
33
 
        "    test [options]\n"
34
 
        "\n"
35
 
        "Options:\n"
36
 
        "    -h, --help      print this help text\n"
37
 
        "    -v, --verbose   enable verbose logging of tests\n";
 
32
  "Usage:\n"
 
33
  "    test [options]\n"
 
34
  "\n"
 
35
  "Options:\n"
 
36
  "    -h, --help      print this help text\n"
 
37
  "    -v, --verbose   enable verbose logging of tests\n";
38
38
 
39
39
int
40
40
main(int argc, char **argv)
41
41
{
42
42
        suite_fn suites[] = {
43
 
#define SUITE(name) &suite_##name,
 
43
#define SUITE(name) &suite_ ## name,
44
44
#include "test/suites.h"
45
45
#undef SUITE
46
46
                NULL