blob: 5361b727c9322d928a6dca92d5d6eadc42c85406 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#include <config.h>
#include <disfluid.h>
#include <locale.h>
#include "gettext.h"
#include "progname.h"
#include "relocatable.h"
int
main (int argc, char *argv[])
{
set_program_name (argv[0]);
setlocale (LC_ALL, "");
bindtextdomain (PACKAGE, relocate (LOCALEDIR));
textdomain (PACKAGE);
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;
}
|