From 8a00021b2ab5529640e5acaca30a27cdaca04178 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Wed, 13 Jul 2016 16:10:28 +0200 Subject: Integrate tests into autotools build system Add automake files for the test binaries. If configured to do so, install the test binaries to libexec/mtd-utils and use autoconf to fix the paths in the test scripts. Signed-off-by: David Oberhollenzer Signed-off-by: Richard Weinberger --- nand-utils/Makemodule.am | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'nand-utils') diff --git a/nand-utils/Makemodule.am b/nand-utils/Makemodule.am index 1d3a2b3..d75b0cb 100644 --- a/nand-utils/Makemodule.am +++ b/nand-utils/Makemodule.am @@ -22,3 +22,11 @@ NAND_SH = \ EXTRA_DIST += $(NAND_SH) sbin_PROGRAMS += $(NAND_BINS) + +if BUILD_TESTS +if INSTALL_TESTS +pkglibexec_SCRIPTS += $(NAND_SH) +else +noinst_SCRIPTS += $(NAND_SH) +endif +endif -- cgit v1.2.3