fixeria has submitted this change. ( https://gerrit.osmocom.org/c/osmo-mgw/+/27784 )
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: I938669a78b4afa808ca4f741aee9919944aeb7f6 --- M tests/mgcp/Makefile.am M tests/mgcp_client/Makefile.am 2 files changed, 2 insertions(+), 2 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/mgcp/Makefile.am b/tests/mgcp/Makefile.am index 1224c0a..af6201a 100644 --- a/tests/mgcp/Makefile.am +++ b/tests/mgcp/Makefile.am @@ -24,7 +24,7 @@ mgcp_test.ok \ $(NULL)
-noinst_PROGRAMS = \ +check_PROGRAMS = \ mgcp_test \ $(NULL)
diff --git a/tests/mgcp_client/Makefile.am b/tests/mgcp_client/Makefile.am index 3e4c082..3895d02 100644 --- a/tests/mgcp_client/Makefile.am +++ b/tests/mgcp_client/Makefile.am @@ -22,7 +22,7 @@ mgcp_client_test.err \ $(NULL)
-noinst_PROGRAMS = \ +check_PROGRAMS = \ mgcp_client_test \ $(NULL)