From e622ed23276655fe16fcba0433e961b8f406b140 Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski Date: Mon, 17 Apr 2023 10:48:48 +0200 Subject: [PATCH] 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 --- bindings/cxx/tests/Makefile.am | 2 +- tests/Makefile.am | 2 +- 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 d53a69f..02b5b6d 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 713be8e..0680d5e 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 392f790..bdad8f7 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 -- 2.30.2