Skip to content

tests: fs/nffs_fs_api: fix uninitialized reference time variable #13996

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

Merged
merged 1 commit into from
Mar 2, 2019

Conversation

dcpleung
Copy link
Member

@dcpleung dcpleung commented Mar 1, 2019

The reftime variable used for performance numbers is not initialized
prior to being used. Initialize it to the current uptime so delta
can be calculated correctly.

Fixes #13877
Fixes CID-190936

Signed-off-by: Daniel Leung [email protected]

The reftime variable used for performance numbers is not initialized
prior to being used. Initialize it to the current uptime so delta
can be calculated correctly.

Fixes zephyrproject-rtos#13877
Fixes CID-190936

Signed-off-by: Daniel Leung <[email protected]>
@codecov-io
Copy link

Codecov Report

Merging #13996 into master will decrease coverage by 0.03%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #13996      +/-   ##
==========================================
- Coverage   52.27%   52.23%   -0.04%     
==========================================
  Files         307      307              
  Lines       45447    45447              
  Branches    10514    10514              
==========================================
- Hits        23757    23741      -16     
- Misses      16900    16912      +12     
- Partials     4790     4794       +4
Impacted Files Coverage Δ
subsys/testsuite/ztest/include/ztest_assert.h 38.88% <0%> (-38.89%) ⬇️
subsys/testsuite/ztest/src/ztest.c 65.28% <0%> (-7.44%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 05fa9c8...8502858. Read the comment docs.

@nashif nashif merged commit 602a79c into zephyrproject-rtos:master Mar 2, 2019
@dcpleung dcpleung deleted the fix_test_nffs_fs_13877 branch March 4, 2019 17:53
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

Successfully merging this pull request may close these issues.

4 participants