fixeria has submitted this change. (
https://gerrit.osmocom.org/c/osmo-trx/+/27788 )
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: I816689e2aeac9decbc44ba210956a929cc7a3169
---
M tests/CommonLibs/Makefile.am
M tests/Transceiver52M/Makefile.am
2 files changed, 3 insertions(+), 3 deletions(-)
Approvals:
pespin: Looks good to me, but someone else must approve
laforge: Looks good to me, approved
Jenkins Builder: Verified
diff --git a/tests/CommonLibs/Makefile.am b/tests/CommonLibs/Makefile.am
index 26b49e2..e6790e6 100644
--- a/tests/CommonLibs/Makefile.am
+++ b/tests/CommonLibs/Makefile.am
@@ -11,7 +11,7 @@
LogTest.ok \
LogTest.err
-noinst_PROGRAMS = \
+check_PROGRAMS = \
BitVectorTest \
PRBSTest \
InterthreadTest \
diff --git a/tests/Transceiver52M/Makefile.am b/tests/Transceiver52M/Makefile.am
index edb812f..9fae41f 100644
--- a/tests/Transceiver52M/Makefile.am
+++ b/tests/Transceiver52M/Makefile.am
@@ -4,7 +4,7 @@
EXTRA_DIST = convolve_test.ok convolve_test_golden.h
-noinst_PROGRAMS = \
+check_PROGRAMS = \
convolve_test
convolve_test_SOURCES = convolve_test.c
@@ -18,7 +18,7 @@
endif
if DEVICE_LMS
-noinst_PROGRAMS += LMSDeviceTest
+check_PROGRAMS += LMSDeviceTest
LMSDeviceTest_SOURCES = LMSDeviceTest.cpp
LMSDeviceTest_LDFLAGS = $(LIBOSMOCORE_LIBS) $(LMS_LIBS)
LMSDeviceTest_LDADD = \
--
To view, visit
https://gerrit.osmocom.org/c/osmo-trx/+/27788
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: I816689e2aeac9decbc44ba210956a929cc7a3169
Gerrit-Change-Number: 27788
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged