Project

General

Profile

action #126590

Updated by szarate over 1 year ago

TL;DR, we need to know whether it's a PM or a Python test: 

 What we are missing here is first to check whether the file is perl or python, if the file exists then load it python: 

 https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/e1214f966566deac2b7910ab3733ad6debb9a989/lib/main_common.pm#L139 

 ``` 
 sub loadtest { 
     my ($test, %args) = @_; 
     croak "extensions are not allowed here '$test'" if $test =~ /\.pm$/; 
     autotest::loadtest("tests/$test.pm", %args); 
 } 
 ``` 

Back