diff options
author | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2023-04-17 10:48:48 +0200 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2023-04-17 11:16:42 +0200 |
commit | e622ed23276655fe16fcba0433e961b8f406b140 (patch) | |
tree | 07498edd0d0aaba2a696fa5afdd206e4895f5089 | |
parent | c19fcfc681556b1988acfc8dc6c7c1fd72c3639a (diff) | |
download | libgpiod-e622ed23276655fe16fcba0433e961b8f406b140.tar.gz |
tests: don't install test executables
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>
-rw-r--r-- | bindings/cxx/tests/Makefile.am | 2 | ||||
-rw-r--r-- | tests/Makefile.am | 2 | ||||
-rw-r--r-- | tools/Makefile.am | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/bindings/cxx/tests/Makefile.am b/bindings/cxx/tests/Makefile.am index d53a69f3..02b5b6de 100644 --- a/bindings/cxx/tests/Makefile.am +++ b/bindings/cxx/tests/Makefile.am @@ -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 \ diff --git a/tests/Makefile.am b/tests/Makefile.am index 713be8e2..0680d5e9 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -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 \ diff --git a/tools/Makefile.am b/tools/Makefile.am index 392f7905..bdad8f7f 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -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 |