2017-09-19 14:23:00 +02:00
|
|
|
test-obj-y += source/tests/main.o
|
2017-09-19 18:44:53 +02:00
|
|
|
test-obj-y += source/tests/ftl/mock.o
|
2017-09-20 14:31:54 +02:00
|
|
|
test-obj-y += source/tests/ftl/find_block.o
|
2017-09-19 14:37:23 +02:00
|
|
|
test-obj-y += source/tests/ftl/find_block_div.o
|
2017-09-20 14:33:54 +02:00
|
|
|
test-obj-y += source/tests/ftl/find_last_block.o
|
2017-09-20 14:34:13 +02:00
|
|
|
test-obj-y += source/tests/ftl/find_last_group.o
|
2017-09-19 15:04:47 +02:00
|
|
|
test-obj-y += source/tests/ftl/next_upage.o
|
2017-09-19 16:18:46 +02:00
|
|
|
test-obj-y += source/tests/ftl/read_page_group.o
|
2017-09-19 14:37:23 +02:00
|
|
|
test-obj-y += source/tests/ftl/read_page_desc.o
|
2017-09-19 16:06:55 +02:00
|
|
|
test-obj-y += source/tests/ftl/write_page_desc.o
|
2017-09-19 18:44:53 +02:00
|
|
|
test-obj-y += source/tests/ftl/write_upage.o
|
2017-09-19 16:06:55 +02:00
|
|
|
|
2017-09-19 17:49:26 +02:00
|
|
|
TEST_CFLAGS += -Dflash_read=__wrap_flash_read
|
|
|
|
TEST_CFLAGS += -Dflash_write=__wrap_flash_write
|
|
|
|
TEST_CFLAGS += -Dflash_is_erased=__wrap_flash_is_erased
|
2017-09-19 18:44:53 +02:00
|
|
|
|
2017-09-20 14:30:38 +02:00
|
|
|
TEST_CFLAGS += -Dis_group_erased=__wrap_is_group_erased
|
|
|
|
TEST_CFLAGS += -Dfind_block=__wrap_find_block
|
2017-09-19 18:44:53 +02:00
|
|
|
TEST_CFLAGS += -Dprepare_head=__wrap_prepare_head
|
|
|
|
TEST_CFLAGS += -Dwrite_page_desc=__wrap_write_page_desc
|