]> git.ipfire.org Git - thirdparty/mlmmj.git/commitdiff
tests: run tests from the root directory
authorBaptiste Daroussin <bapt@FreeBSD.org>
Mon, 26 Jun 2023 19:09:55 +0000 (21:09 +0200)
committerBaptiste Daroussin <bapt@FreeBSD.org>
Mon, 26 Jun 2023 19:09:55 +0000 (21:09 +0200)
This makes it easier to debug

Makefile.am
tests/Makefile.am

index ba436f34017e3d027c4576818c9bd1e53b346988..a92e300718f7645face32bf4f78142e7a763dac7 100644 (file)
@@ -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)'
+
index d00cf3b7aec7519bafe5e0e9a89747bb423c73fd..5d4785dbbbc651dfa5557edb5900dbd2764a0f39 100644 (file)
@@ -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 $< $@