summaryrefslogtreecommitdiff
path: root/tests/run-unit-tests.c
blob: a290284b6627fd4359d55c72a6b75bd63c0fba8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <config.h>
#include <disfluid.h>

int
main (int argc, char *argv[])
{
  (void) argc;
  (void) argv;
  /* This is just a test runner, do not call bindtextdomain () */
  size_t n_tests, n_failures;
  char *output = disfluid_run_tests (&n_tests, &n_failures);
  free (output);
  if (n_failures != 0)
    {
      return 1;
    }
  return 0;
}