]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-regex: Run unit tests
authorAki Tuomi <aki.tuomi@open-xchange.com>
Tue, 21 Oct 2025 07:51:29 +0000 (10:51 +0300)
committertimo.sirainen <timo.sirainen@open-xchange.com>
Tue, 21 Oct 2025 08:17:21 +0000 (08:17 +0000)
check-local section was missing in Makefile.am, so tests weren't
executed.

Forgotten from 49ae6e798310e5c4b96709db435a3714ea6468a8

src/lib-regex/Makefile.am

index 17ce730a1d4a6a6ee1c79ea91e6d569fc0296877..60f43d97797e2e4764bb8bcdb718867e6fc2922b 100644 (file)
@@ -36,6 +36,12 @@ test_regex_LDADD = libdregex.la \
                   $(LIBPCRE_LIBS)
 test_regex_DEPENDENCIES = libdregex.la $(LIBPCRE_LIBS)
 
+check-local:
+       for bin in $(test_programs); do \
+         if ! $(RUN_TEST) ./$$bin; then exit 1; fi; \
+       done
+
+
 else
 libdregex_la_SOURCES = empty.c
 endif