From: Baptiste Daroussin Date: Mon, 26 Jun 2023 19:09:55 +0000 (+0200) Subject: tests: run tests from the root directory X-Git-Tag: RELEASE_1_4_0rc1~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03e4677347e32174e0fd789ba8a4015e0b0abe6c;p=thirdparty%2Fmlmmj.git tests: run tests from the root directory This makes it easier to debug --- diff --git a/Makefile.am b/Makefile.am index ba436f34..a92e3007 100644 --- a/Makefile.am +++ b/Makefile.am @@ -12,3 +12,8 @@ man1_MANS = man/mlmmj-bounce.1 man/mlmmj-make-ml.1 man/mlmmj-receive.1 \ man/mlmmj-send.1 man/mlmmj-unsub.1 man/mlmmj-list.1 SUBDIRS = src listtexts contrib tests + +check: $(check_SCRIPTS) $(check_PROGRAMS) + kyua --config=none test --kyuafile='$(builddir)/Kyuafile' \ + --build-root='$(builddir)' + diff --git a/tests/Makefile.am b/tests/Makefile.am index d00cf3b7..5d4785db 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -40,8 +40,6 @@ SUFFIXES= .sh all: $(check_PROGRAMS) $(check_SCRIPTS) check: $(check_SCRIPTS) $(check_PROGRAMS) - kyua --config=none test --kyuafile='$(builddir)/Kyuafile' \ - --build-root='$(builddir)' .sh: install -m 755 $< $@