mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-trx.git
synced 2025-10-23 08:22:00 +00:00
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
This commit is contained in:
@@ -11,7 +11,7 @@ EXTRA_DIST = BitVectorTest.ok \
|
||||
LogTest.ok \
|
||||
LogTest.err
|
||||
|
||||
noinst_PROGRAMS = \
|
||||
check_PROGRAMS = \
|
||||
BitVectorTest \
|
||||
PRBSTest \
|
||||
InterthreadTest \
|
||||
|
@@ -4,7 +4,7 @@ AM_CFLAGS = -Wall -I$(top_srcdir)/Transceiver52M -I$(top_srcdir)/Transceiver52M/
|
||||
|
||||
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 @@ convolve_test_CFLAGS += $(SIMD_FLAGS)
|
||||
endif
|
||||
|
||||
if DEVICE_LMS
|
||||
noinst_PROGRAMS += LMSDeviceTest
|
||||
check_PROGRAMS += LMSDeviceTest
|
||||
LMSDeviceTest_SOURCES = LMSDeviceTest.cpp
|
||||
LMSDeviceTest_LDFLAGS = $(LIBOSMOCORE_LIBS) $(LMS_LIBS)
|
||||
LMSDeviceTest_LDADD = \
|
||||
|
Reference in New Issue
Block a user