Project

General

Profile

action #50177

Updated by riafarov about 5 years ago

## Motivation: 

 Currently there are several bootloader test modules (bootloader, bootloader_zkvm, bootloader_uefi etc.) that are scheduled in main.pm. 

 The conditional logic is too complex for declarative scheduling that is planned to be applied to all YaST test suites. 

 In order to simplify migrating to declarative scheduling, as a simple and straightforward workaround it is decided to extract the conditional logic to one 'bootloader' test module and use it there. 

 ## Acceptance Criteria 

 **AC1:** Only one, common bootloader module is used for the scheduling; 
 **AC2:** All the conditional logic deciding which bootloader should be executed for the certain system configuration is moved to the common bootloader module; 
 **AC3:** All existing test suites that are using bootloader modules still passing. 

 ## Further details 
 Let's limit to the installer scenarios only. 
 main.pm should not be modified, so no other tests should get broken, but conditions should be gathered from there. 

 NOTE: Travis will fail in case new module is added and not mentioned in the main.pm, so add it as a comment to trick it. 

 Use SCHEDULE variable to test with new schedule (to override it). 

Back