From 92a5d591906d88302bcecfce1d6b61c6a1675374 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Mon, 22 Aug 2016 16:08:34 +0200 Subject: mtd-utils: Add flash stress test utility Basically a user space port of the mtd stress 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. Signed-off-by: David Oberhollenzer Signed-off-by: Richard Weinberger --- tests/mtd-tests/Makemodule.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tests/mtd-tests/Makemodule.am') diff --git a/tests/mtd-tests/Makemodule.am b/tests/mtd-tests/Makemodule.am index d61156f..541bc4b 100644 --- a/tests/mtd-tests/Makemodule.am +++ b/tests/mtd-tests/Makemodule.am @@ -2,8 +2,12 @@ flash_torture_SOURCES = tests/mtd-tests/flash_torture.c flash_torture_LDADD = libmtd.a flash_torture_CPPFLAGS = $(AM_CPPFLAGS) +flash_stress_SOURCES = tests/mtd-tests/flash_stress.c +flash_stress_LDADD = libmtd.a +flash_stress_CPPFLAGS = $(AM_CPPFLAGS) + MTDTEST_BINS = \ - flash_torture + flash_torture flash_stress if INSTALL_TESTS pkglibexec_PROGRAMS += $(MTDTEST_BINS) -- cgit v1.2.3