I'm not sure what historical reasons there were to install test programs
if they are built but now I can't see any anymore. Tests can be run from
the build directory and users such as meta-openembedded can install them
and the relevant libraries (libgpiosim) manually into the filesystem as
they don't usually live in ${bindir} anyway. Installing test binaries just
pollutes the filesystem now so stop doing it.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
AM_LDFLAGS += -lgpiosim -L$(top_builddir)/tests/gpiosim/
AM_LDFLAGS += -pthread
-bin_PROGRAMS = gpiod-cxx-test
+noinst_PROGRAMS = gpiod-cxx-test
gpiod_cxx_test_SOURCES = \
check-kernel.cpp \
LDADD += $(top_builddir)/tests/gpiosim/libgpiosim.la
LDADD += $(GLIB_LIBS) $(GIO_LIBS)
-bin_PROGRAMS = gpiod-test
+noinst_PROGRAMS = gpiod-test
gpiod_test_SOURCES = \
gpiod-test.c \
if WITH_TESTS
-bin_SCRIPTS = gpio-tools-test gpio-tools-test.bats
+noinst_SCRIPTS = gpio-tools-test gpio-tools-test.bats
endif