diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2016-08-22 16:05:19 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2016-11-17 11:36:56 +0100 |
commit | f1d405ebe533d872c421b523aff371d215bf9118 (patch) | |
tree | 8dfa001f5aa79871d66bb7713e6a6f87fe83b1f7 /tests/mtd-tests/Makemodule.am | |
parent | 5d524111adc549ec80e577dd3d9045a4c589fa7b (diff) |
mtd-utils: Add flash torture test utility
Basically a user space port of the mtd torture test kernel module. In
addition to the block offset and count module parameters, the utility
supports a block stride and can restore the block contents after test.
In contrast to the kernel module, the torture test is implemented by
the libmtd mtd_toruture function and thus doesn't allow for similarly
fine grained options on diagnostics.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'tests/mtd-tests/Makemodule.am')
-rw-r--r-- | tests/mtd-tests/Makemodule.am | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/mtd-tests/Makemodule.am b/tests/mtd-tests/Makemodule.am new file mode 100644 index 0000000..d61156f --- /dev/null +++ b/tests/mtd-tests/Makemodule.am @@ -0,0 +1,12 @@ +flash_torture_SOURCES = tests/mtd-tests/flash_torture.c +flash_torture_LDADD = libmtd.a +flash_torture_CPPFLAGS = $(AM_CPPFLAGS) + +MTDTEST_BINS = \ + flash_torture + +if INSTALL_TESTS +pkglibexec_PROGRAMS += $(MTDTEST_BINS) +else +noinst_PROGRAMS += $(MTDTEST_BINS) +endif |