memtester:Two new bit-width test items
Because it may cause unaligned access problems with some hardware, these two tests are not turned on by default, and are enabled or disabled through Kconfig. Signed-off-by: chenrun1 <chenrun1@xiaomi.com>
This commit is contained in:
parent
de3746e2ba
commit
56045e8e3d
@ -32,4 +32,11 @@ config UTILS_MEMTESTER_PRIORITY
|
|||||||
int "Task PRIORITY"
|
int "Task PRIORITY"
|
||||||
default 100
|
default 100
|
||||||
|
|
||||||
|
config UTILS_MEMTESTER_NARROW
|
||||||
|
bool "TEST_NARROW"
|
||||||
|
default n
|
||||||
|
---help---
|
||||||
|
Turn on the "test_8bit_wide_random test_16bit_wide_random" tests, which
|
||||||
|
may result in unaligned access on some platforms.
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
@ -26,6 +26,10 @@ CSRCS += memtester/output.c
|
|||||||
|
|
||||||
MAINSRC = memtester/memtester.c
|
MAINSRC = memtester/memtester.c
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_UTILS_MEMTESTER_NARROW),y)
|
||||||
|
CFLAGS += -DTEST_NARROW_WRITES
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(wildcard memtester/.git),)
|
ifeq ($(wildcard memtester/.git),)
|
||||||
VERSION ?= master
|
VERSION ?= master
|
||||||
memtester.zip:
|
memtester.zip:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user