-
Notifications
You must be signed in to change notification settings - Fork 12
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
Fix cov script #12
Fix cov script #12
Conversation
scripts/CodeCoverage.py
Outdated
for root, dirs, files in os.walk(rpmbuild_dir): | ||
if 'UnitTestRunner.dir' in root: | ||
continue | ||
for f in files: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would name the loop variable something more descriptive other than f
. Maybe file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just don't want to name it file
because then it'll overwrite that keyword. will use filename
.
scripts/CodeCoverage.py
Outdated
os.chdir(LAUNCH_DIR + '/coverage') | ||
|
||
gcovr_whitelist = generate_gcovr_filter(formatted_user_list=format_user_list(user_list=USER_WHITELIST), | ||
default_list=DEFAULT_WHITELIST) | ||
gcovr_blacklist = generate_gcovr_filter(formatted_user_list=format_user_list(user_list=USER_BLACKLIST), | ||
default_list=DEFAULT_BLACKLIST) | ||
copy_coverage_files_into_cov_dir(object_dir=OBJ_DIR, launch_dir=LAUNCH_DIR) | ||
|
||
# ProbeTransmogrifier builds both Probe_Transmogrifier and ProbeTransmogrifier. ProbeTransmogrifier has the code we want to cover, not Probe_Transmnogrifier |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo at the end of this comment Probe_TransmNogrifier
Story: https://jira.logrhythm.com/browse/NM-1104
Related PRs:
Adding CC to repo Builds
nm-core - https://github.com/logrhythm/nm-core/pull/29
nm-stats - https://github.com/logrhythm/nm-stats/pull/1
nm-tools - https://github.com/logrhythm/nm-tools/pull/4
nm-protobuffers - https://github.com/logrhythm/nm-protobuffers/pull/4
nm-setup - https://github.com/logrhythm/nm-setup/pull/8
inverted-index-file - https://github.com/logrhythm/inverted-index-file/pull/2
nm-dpi - https://github.com/logrhythm/nm-dpi/pull/10
nm-lua-executer - https://github.com/logrhythm/nm-lua-executer/pull/4
probe-transmogrifier - https://github.com/logrhythm/probe-transmogrifier/pull/1
syslog-sender - https://github.com/logrhythm/syslog-sender/pull/1
lross - https://github.com/logrhythm/lross/pull/3
FileIO - logrhythm/FileIO#33
DeathKnell - logrhythm/DeathKnell#18
QueueNado - logrhythm/QueueNado#54
StopWatch - logrhythm/StopWatch#29
MurMurHash - logrhythm/MurMurHash#15
Adding CC to CI Build and Artifacts
CodeCoverage - #12
nm-fabric - https://github.com/logrhythm/nm-fabric/pull/18
nm-docker - https://github.com/logrhythm/nm-docker/pull/14
nm-thirdparty - https://github.com/logrhythm/nm-thirdparty/pull/16