summaryrefslogtreecommitdiff
path: root/tests/run-unit-tests.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-unit-tests.c')
-rw-r--r--tests/run-unit-tests.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/tests/run-unit-tests.c b/tests/run-unit-tests.c
index 96fa35e..c6713fe 100644
--- a/tests/run-unit-tests.c
+++ b/tests/run-unit-tests.c
@@ -1,19 +1,11 @@
#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);
+ (void) argv;
size_t n_tests, n_failures;
char *output = disfluid_run_tests (&n_tests, &n_failures);
free (output);