]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-sql: Makefile.am - Use test_programs instead of check_PROGRAMS variable
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Wed, 5 Nov 2025 10:47:18 +0000 (12:47 +0200)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Mon, 10 Nov 2025 12:12:12 +0000 (12:12 +0000)
This makes it consistent with other unit tests.

src/lib-sql/Makefile.am

index 8e55f9b951953921b2639079b0c2c2478bbd45f3..3dd05f8cce51227adf698c39423c6885e95de1a6 100644 (file)
@@ -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