Project

General

Profile

action #50432

Updated by zluo about 5 years ago

create Utils::Architectures 
 move specific architectures to it and let opensusebasetest inheriting from it, to avoid excess of imports 

 Suggestions: 
 check like following: 


     # defined in lib/version_utils.pm                                                                                                                                                                                                
     # sub is_s390x {                                                                                                                                                                                                                 
     #       return check_var('ARCH', 's390x');                                                                                                                                                                                         
     # }                                                                                                                                                                                                                              
     # sub is_x86_64 {                                                                                                                                                                                                                
     #       return check_var('ARCH', 'x86_64');                                                                                                                                                                                        
     # }  

 * Grep for check_var('ARCH' (might use single or double quotes) and move these to an architecture specific utils package 
 * grep for 'check_var("BACKEND", (might use single or double quotes) and move these to Utils::Backends or a possibly different package to ensure that we can differentiate from utilities that help with the backend, vs utilities that add more functionality to the backend independant code (like is_remote_backend) 

Back