-
Notifications
You must be signed in to change notification settings - Fork 85
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 suse gcov #825
Fix suse gcov #825
Conversation
Signed-off-by: Praveen K Pandey <praveen@linux.vnet.ibm.com>
5413368
to
a18e88b
Compare
testcases/GcovSetup.py
Outdated
log.info("\nInstalling the ditro src...") | ||
if self.distro_name == 'rhel': | ||
src_path = self.util.get_distro_src('kernel', '/root', "-bp") | ||
elif self.distro_name == 'sles': | ||
src_path = self.util.get_distro_src('kernel-default', '/root', "-bp") | ||
src_path = self.util.get_distro_src('kernel-default', '/root', "-bp", "linux") | ||
distro = "sles" |
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.
why not make distro a class variable, so this will expand the scope into all methods.. and you no need to pass distro as extra parameter in each of these function self.kernel_config(src_path, distro)
self.add_gcov_param(src_conf_file, distro)
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.
yes good idea
Signed-off-by: Praveen K Pandey <praveen@linux.vnet.ibm.com>
a18e88b
to
16e87ec
Compare
@abdhaleegit taken care review comment , can you please have a look |
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.
LGTM
1- [Fixed Support for Suse source package can be get via API]
2- [added support in get kernel source in suse case]