tests: use 'check_PROGRAMS' instead of 'noinst_PROGRAMS'

When using 'check_PROGRAMS', autoconf/automake generates smarter
Makefiles, so that the test programs are not being compiled during
the normal 'make all', but only during 'make check'.

Change-Id: I70cf75b3cb6ae59c92248cc529546750fb0da07b
This commit is contained in:
Vadim Yanitskiy 2022-04-13 19:55:34 +03:00
parent 0c13953ed0
commit b246580900
2 changed files with 2 additions and 4 deletions

View File

@ -23,9 +23,7 @@ EXTRA_DIST = \
auc_ts_55_205_test_sets.err \
$(NULL)
check_PROGRAMS = auc_ts_55_205_test_sets
noinst_PROGRAMS = auc_test
check_PROGRAMS = auc_test auc_ts_55_205_test_sets
auc_test_SOURCES = \
auc_test.c \

View File

@ -17,7 +17,7 @@ EXTRA_DIST = \
gsup_test.err \
$(NULL)
noinst_PROGRAMS = \
check_PROGRAMS = \
gsup_test \
$(NULL)