From bc56d5755c2b1e11a8b1589ef9275710fb2060a7 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Mon, 22 Aug 2016 16:10:16 +0200 Subject: mtd-utils: Add flash speed test utility Basically a user space port of the mtd speed 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. Furthermore, a flag can be used to disable destructive tests (i.e. only perform read speed tests). 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 541bc4b..ac40697 100644 --- a/tests/mtd-tests/Makemodule.am +++ b/tests/mtd-tests/Makemodule.am @@ -6,8 +6,12 @@ flash_stress_SOURCES = tests/mtd-tests/flash_stress.c flash_stress_LDADD = libmtd.a flash_stress_CPPFLAGS = $(AM_CPPFLAGS) +flash_speed_SOURCES = tests/mtd-tests/flash_speed.c +flash_speed_LDADD = libmtd.a +flash_speed_CPPFLAGS = $(AM_CPPFLAGS) + MTDTEST_BINS = \ - flash_torture flash_stress + flash_torture flash_stress flash_speed if INSTALL_TESTS pkglibexec_PROGRAMS += $(MTDTEST_BINS) -- cgit v1.2.3