tests: don't install test executables
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 17 Apr 2023 08:48:48 +0000 (10:48 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 17 Apr 2023 09:16:42 +0000 (11:16 +0200)
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>
bindings/cxx/tests/Makefile.am
tests/Makefile.am
tools/Makefile.am

index d53a69f3e3369507926bdf884afae41a76d11673..02b5b6de259a5f1bfb3b0fd9783d14c1e94d0610 100644 (file)
@@ -8,7 +8,7 @@ AM_LDFLAGS = -lgpiodcxx -L$(top_builddir)/bindings/cxx/
 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 \
index 713be8e2388867eb636dc418efce0865a12be686..0680d5e948e36bac6d03195799b3e5c4a990c91c 100644 (file)
@@ -11,7 +11,7 @@ LDADD = $(top_builddir)/lib/libgpiod.la
 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 \
index 392f79058d3e88fe8ffe52666fcd98c477db2ef2..bdad8f7fa045664918b5e28b6cfdbf119316e14c 100644 (file)
@@ -34,6 +34,6 @@ EXTRA_DIST = gpio-tools-test gpio-tools-test.bats
 
 if WITH_TESTS
 
-bin_SCRIPTS = gpio-tools-test gpio-tools-test.bats
+noinst_SCRIPTS = gpio-tools-test gpio-tools-test.bats
 
 endif