diff options
author | Vivien Kraus <vivien@planete-kraus.eu> | 2023-03-25 14:58:04 +0100 |
---|---|---|
committer | Vivien Kraus <vivien@planete-kraus.eu> | 2023-03-25 18:53:34 +0100 |
commit | ac95860f1f8817e3a589682db6d98ff77f36d995 (patch) | |
tree | 2e9fcdcf625fa7d96d3e2b08468351ffb787de41 /tests | |
parent | 476ba7b276658b35b54732fffde6cc87d7768f65 (diff) |
Add libdisfluid-gobject
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Makefile.am | 8 | ||||
-rw-r--r-- | tests/run-unit-tests.c | 10 |
2 files changed, 2 insertions, 16 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index 8f2b116..7b5f349 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -10,13 +10,7 @@ check_PROGRAMS += %D%/run-unit-tests -DGETTEXT_PACKAGE=\"$(PACKAGE)\" %C%_run_unit_tests_LDADD = \ - libprog/libgnu.la \ - src/libdisfluid/libdisfluid.la \ - $(LIBTHREAD) \ - $(LTLIBINTL) \ - $(SETLOCALE_LIB) \ - $(SETLOCALE_NULL_LIB) \ - @INTL_MACOSX_LIBS@ + src/libdisfluid/libdisfluid.la EXTRA_DIST += %D%/valgrind.supp 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); |