def fabtests(core, hosts, mode, util=None): runfabtest = tests.Fabtest(jobname=jbname,buildno=bno,\ testname="runfabtests", core_prov=core, fabric=fab,\ hosts=hosts, ofi_build_mode=mode, util_prov=util) if (runfabtest.execute_condn): print("running fabtests for {}-{}-{}".format(core, util, fab)) runfabtest.execute_cmd() else: print("skipping {} as execute condition fails"\ .format(runfabtest.testname)) print("----------------------------------------------------------------------------------------\n")
def fabtests(core, hosts, mode, util): runfabtest = tests.Fabtest(jobname=jbname, buildno=bno, testname='runfabtests', core_prov=core, fabric=fab, hosts=hosts, ofi_build_mode=mode, util_prov=util) print( "-------------------------------------------------------------------") if (runfabtest.execute_condn): print("Running Fabtests for {}-{}-{}".format(core, util, fab)) runfabtest.execute_cmd() else: print("Skipping {} {} as execute condition fails" \ .format(core, runfabtest.testname)) print( "-------------------------------------------------------------------")
def fabtests(core, hosts, mode, util): runfabtest = tests.Fabtest(jobname=jbname, buildno=bno, testname='runfabtests', core_prov=core, fabric=fab, hosts=hosts, ofi_build_mode=mode, util_prov=util) print( '-------------------------------------------------------------------') if (runfabtest.execute_condn): print(f"Running Fabtests for {core}-{util}-{fab}") runfabtest.execute_cmd() else: print( f"Skipping {core} {runfabtest.testname} as execute condition fails" ) print( '-------------------------------------------------------------------')