Skip to content

Commit

Permalink
tests/subsys/fs/multi-fs: suppres kconfig issue
Browse files Browse the repository at this point in the history
This patch is for suppress CI Kconfig issues caused
by temporary dead code in this test-suie.

Signed-off-by: Andrzej Puzdrowski <[email protected]>
  • Loading branch information
nvlsianpu authored and carlescufi committed Jan 21, 2020
1 parent 68f51f6 commit cc81e02
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 20 deletions.
9 changes: 0 additions & 9 deletions tests/subsys/fs/multi-fs/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,10 @@ CONFIG_FILE_SYSTEM=y
CONFIG_LOG=y
CONFIG_FAT_FILESYSTEM_ELM=y
CONFIG_DISK_ACCESS_RAM=y
CONFIG_FILE_SYSTEM_NFFS=y
CONFIG_FLASH_PAGE_LAYOUT=y
CONFIG_FLASH=y
CONFIG_TEST_FLASH_DRIVERS=y
CONFIG_FS_NFFS_FLASH_DEV_NAME="ram_flash_test_drv"
CONFIG_FS_NFFS_NUM_BLOCKS=1024
CONFIG_FS_NFFS_NUM_CACHE_BLOCKS=1
CONFIG_FS_NFFS_NUM_CACHE_INODES=1
CONFIG_FS_NFFS_NUM_DIRS=4
CONFIG_FS_NFFS_NUM_FILES=4
CONFIG_FS_NFFS_NUM_INODES=1024
CONFIG_HEAP_MEM_POOL_SIZE=1024
CONFIG_MAIN_STACK_SIZE=1024
CONFIG_NFFS_FILESYSTEM_MAX_AREAS=12
CONFIG_ZTEST_STACKSIZE=2048
CONFIG_ZTEST=y
9 changes: 0 additions & 9 deletions tests/subsys/fs/multi-fs/prj_fs_shell.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,10 @@ CONFIG_SHELL_CMD_BUFF_SIZE=90
CONFIG_FILE_SYSTEM_SHELL=y
CONFIG_FAT_FILESYSTEM_ELM=y
CONFIG_DISK_ACCESS_RAM=y
CONFIG_FILE_SYSTEM_NFFS=y
CONFIG_FLASH_PAGE_LAYOUT=y
CONFIG_FLASH=y
CONFIG_TEST_FLASH_DRIVERS=y
CONFIG_FS_NFFS_FLASH_DEV_NAME="ram_flash_test_drv"
CONFIG_FS_NFFS_NUM_BLOCKS=1024
CONFIG_FS_NFFS_NUM_CACHE_BLOCKS=1
CONFIG_FS_NFFS_NUM_CACHE_INODES=1
CONFIG_FS_NFFS_NUM_DIRS=4
CONFIG_FS_NFFS_NUM_FILES=4
CONFIG_FS_NFFS_NUM_INODES=1024
CONFIG_HEAP_MEM_POOL_SIZE=1024
CONFIG_MAIN_STACK_SIZE=1024
CONFIG_NFFS_FILESYSTEM_MAX_AREAS=12
CONFIG_ZTEST_STACKSIZE=2048
CONFIG_ZTEST=y
2 changes: 1 addition & 1 deletion tests/subsys/fs/multi-fs/src/nffs_test_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ void nffs_test_util_overwrite_data(u8_t *data, u32_t data_len,
struct flash_pages_info info;
off_t off;

dev = device_get_binding(CONFIG_FS_NFFS_FLASH_DEV_NAME);
/*dev = device_get_binding();*/
flash_get_page_info_by_offs(dev, addr, &info);

nffs_os_flash_read(0, info.start_offset, area_buf, info.size);
Expand Down
2 changes: 1 addition & 1 deletion tests/subsys/fs/multi-fs/src/test_nffs_mount.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ static int test_mount(void)
struct device *flash_dev;
int res;

flash_dev = device_get_binding(CONFIG_FS_NFFS_FLASH_DEV_NAME);
/*flash_dev = device_get_binding();*/
if (!flash_dev) {
return -ENODEV;
}
Expand Down

0 comments on commit cc81e02

Please sign in to comment.