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

samples: logger: test sample in CI #10163

Merged
merged 2 commits into from
Oct 5, 2018

Conversation

nashif
Copy link
Member

@nashif nashif commented Sep 22, 2018

Add test stub for this sample to verify it in CI on default platforms.

Signed-off-by: Anas Nashif anas.nashif@intel.com

@codecov-io
Copy link

codecov-io commented Sep 22, 2018

Codecov Report

Merging #10163 into master will increase coverage by 0.13%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #10163      +/-   ##
==========================================
+ Coverage      53%   53.14%   +0.13%     
==========================================
  Files         210      210              
  Lines       25732    25745      +13     
  Branches     5672     5673       +1     
==========================================
+ Hits        13639    13681      +42     
+ Misses       9779     9754      -25     
+ Partials     2314     2310       -4
Impacted Files Coverage Δ
include/logging/log_core.h 100% <0%> (ø) ⬆️
include/logging/log_msg.h 86.36% <0%> (+1.51%) ⬆️
misc/printk.c 88.55% <0%> (+3.09%) ⬆️
subsys/logging/log_core.c 76.92% <0%> (+3.69%) ⬆️
subsys/logging/log_output.c 84.24% <0%> (+10.9%) ⬆️

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 dc8bbce...3083cb8. Read the comment docs.

@@ -29,6 +28,10 @@ SAMPLE_INSTANCE_DEFINE(inst1);
#define INST2_NAME STRINGIFY(SAMPLE_INSTANCE_NAME.inst2)
SAMPLE_INSTANCE_DEFINE(inst2);

#ifndef NRF_RTC1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#ifdef CONFIG_SOC_FAMILY_NRF would be better

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For #9988 it wouldn't be.

@nashif
Copy link
Member Author

nashif commented Sep 26, 2018

recheck

nashif added 2 commits October 4, 2018 18:30
Add test stub for this sample to verify it in CI on default platforms.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
The way uart console is setup for this is not compatible with the logger
and needs additional changes, excluding until we have this implemented
in a generic way.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
@nashif nashif force-pushed the test_logger_sample branch from 55efc3f to 3083cb8 Compare October 5, 2018 03:07
@nashif nashif merged commit 4402c4b into zephyrproject-rtos:master Oct 5, 2018
@nashif nashif deleted the test_logger_sample branch March 4, 2019 00:38
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.

5 participants