diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2016-07-13 16:10:28 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2016-11-17 11:36:55 +0100 |
commit | 8a00021b2ab5529640e5acaca30a27cdaca04178 (patch) | |
tree | 0944317c3e431143eedca84429348334a725e716 /nand-utils/Makemodule.am | |
parent | d39ea7019cb204420c53a203ff9ccbb4cab0d4b3 (diff) |
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 <david.oberhollenzer@sigma-star.at>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'nand-utils/Makemodule.am')
-rw-r--r-- | nand-utils/Makemodule.am | 8 |
1 files changed, 8 insertions, 0 deletions
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 |