Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests/subsys/fs/nffs_fs_api:-Evaluation failed #5189

Closed
rrahulkx opened this issue Nov 29, 2017 · 2 comments
Closed

tests/subsys/fs/nffs_fs_api:-Evaluation failed #5189

rrahulkx opened this issue Nov 29, 2017 · 2 comments

Comments

@rrahulkx
Copy link

As on zephyr commit ID:-07e1a64e77e15180721c56993a19bce473ff4365

Steps to be Reproduce:

cd $ZEPHYR_BASE/tests/subsys/fs/nffs_fs_api
mkdir build && cd build
cmake -DBOARD=qemu_x86 -DTEST=cache ..
make run

Then console output is obtained as pasted below:

Running test suite nffs_fs_cache_test

starting test - test_cache_large_file

Assertion failed at /tests/subsys/fs/nffs_fs_api/src/nffs_test_utils.c:216: nffs_test_util_assert_cache_range: cache_start not equal to expected_cache_start

FAIL - test_cache_large_file.

===================================================================
PROJECT EXECUTION FAILED

@galak
Copy link
Collaborator

galak commented Nov 29, 2017

I'm guessing this is related to needing to configure CONFIG_FS_NFFS_NUM_CACHE_BLOCKS & CONFIG_FS_NFFS_NUM_CACHE_INODES. If you look at tests/subsys/fs/nffs_fs_api/testcase.yaml you'll see those set as part of the cache test.

@nashif nashif added the invalid label Nov 30, 2017
@nashif
Copy link
Member

nashif commented Nov 30, 2017

you need to set additional configs per the testcase.yaml for the cache test

@nashif nashif closed this as completed Nov 30, 2017
@dbkinder dbkinder changed the title tests/subsys/fs/nffs_fs_api:-Evalution failed tests/subsys/fs/nffs_fs_api:-Evaluation failed Dec 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants