From: Aki Tuomi Date: Tue, 21 Oct 2025 07:51:29 +0000 (+0300) Subject: lib-regex: Run unit tests X-Git-Tag: 2.4.2~40 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2e199b364978a71839eb0620c98ba0f3ae3e0eb;p=thirdparty%2Fdovecot%2Fcore.git lib-regex: Run unit tests check-local section was missing in Makefile.am, so tests weren't executed. Forgotten from 49ae6e798310e5c4b96709db435a3714ea6468a8 --- diff --git a/src/lib-regex/Makefile.am b/src/lib-regex/Makefile.am index 17ce730a1d..60f43d9779 100644 --- a/src/lib-regex/Makefile.am +++ b/src/lib-regex/Makefile.am @@ -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