fixeria has submitted this change. ( https://gerrit.osmocom.org/c/osmo-hlr/+/27783 )
Change subject: tests: use 'check_PROGRAMS' instead of 'noinst_PROGRAMS' ......................................................................
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 --- M tests/auc/Makefile.am M tests/gsup/Makefile.am 2 files changed, 2 insertions(+), 4 deletions(-)
Approvals: Jenkins Builder: Verified pespin: Looks good to me, but someone else must approve laforge: Looks good to me, approved
diff --git a/tests/auc/Makefile.am b/tests/auc/Makefile.am index 9b65d71..5ae133b 100644 --- a/tests/auc/Makefile.am +++ b/tests/auc/Makefile.am @@ -23,9 +23,7 @@ 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 \ diff --git a/tests/gsup/Makefile.am b/tests/gsup/Makefile.am index 5dbb180..9a10597 100644 --- a/tests/gsup/Makefile.am +++ b/tests/gsup/Makefile.am @@ -17,7 +17,7 @@ gsup_test.err \ $(NULL)
-noinst_PROGRAMS = \ +check_PROGRAMS = \ gsup_test \ $(NULL)