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

Fix cov script #12

Merged
merged 17 commits into from
Jul 25, 2018
Merged

Fix cov script #12

merged 17 commits into from
Jul 25, 2018

Conversation

for root, dirs, files in os.walk(rpmbuild_dir):
if 'UnitTestRunner.dir' in root:
continue
for f in files:

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

Copy link
Author

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.

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

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

@Schatzman Schatzman merged commit 81d7cde into logrhythm:master Jul 25, 2018
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.

3 participants