From: Timo Sirainen Date: Wed, 5 Nov 2025 10:47:18 +0000 (+0200) Subject: lib-sql: Makefile.am - Use test_programs instead of check_PROGRAMS variable X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3c1f105a0af83ab8722cdb98e91aac78e68383c;p=thirdparty%2Fdovecot%2Fcore.git lib-sql: Makefile.am - Use test_programs instead of check_PROGRAMS variable This makes it consistent with other unit tests. --- diff --git a/src/lib-sql/Makefile.am b/src/lib-sql/Makefile.am index 8e55f9b951..3dd05f8cce 100644 --- a/src/lib-sql/Makefile.am +++ b/src/lib-sql/Makefile.am @@ -146,22 +146,22 @@ test_libs = \ $(noinst_LTLIBRARIES) \ ../lib-dovecot/libdovecot.la -check_PROGRAMS = test-sql +test_programs = test-sql test_sql_SOURCES = test-sql.c test_sql_LDADD = $(test_libs) $(DLLIB) test_sql_DEPENDENCIES = $(test_libs) if BUILD_SQLITE -check_PROGRAMS += test-sql-sqlite +test_programs += test-sql-sqlite test_sql_sqlite_SOURCES = test-sql-sqlite.c test_sql_sqlite_LDADD = $(SQLITE_LIB) $(pkglib_LTLIBRARIES) $(test_libs) $(DLLIB) test_sql_sqlite_DEPENDENCIES = $(SQLITE_LIB) $(pkglib_LTLIBRARIES) $(test_libs) endif -noinst_PROGRAMS = $(check_PROGRAMS) +noinst_PROGRAMS = $(test_programs) check-local: - for bin in $(check_PROGRAMS); do \ + for bin in $(test_programs); do \ if ! $(RUN_TEST) ./$$bin; then exit 1; fi; \ done