blob: 96fa35e52a69b8b53a1ef3a989d9c43cca9b530c (
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
25
|
#include <config.h>
#include <disfluid.h>
#include <locale.h>
#include "gettext.h"
#include "progname.h"
#include "relocatable.h"
int
main (int argc, char *argv[])
{
(void) argc;
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;
}
|