def shmemtest(core, hosts, mode, util): runshmemtest = tests.ShmemTest(jobname=jbname, buildno=bno, testname="shmem test", core_prov=core, fabric=fab, hosts=hosts, ofi_build_mode=mode, util_prov=util) print( "-------------------------------------------------------------------") if (runshmemtest.execute_condn): # skip unit because it is failing shmem_team_split_2d # print("running shmem unit test for {}-{}-{}".format(core, util, fab)) # runshmemtest.execute_cmd("unit") print("Running shmem PRK test for {}-{}-{}".format(core, util, fab)) runshmemtest.execute_cmd("prk") print( "---------------------------------------------------------------") print("Running shmem ISx test for {}-{}-{}".format(core, util, fab)) runshmemtest.execute_cmd("isx") print( "---------------------------------------------------------------") print("Running shmem uh test for {}-{}-{}".format(core, util, fab)) runshmemtest.execute_cmd("uh") else: print("Skipping {} {} as execute condition fails"\ .format(core, runshmemtest.testname)) print( "-------------------------------------------------------------------")
def shmemtest(core, hosts, mode, util): runshmemtest = tests.ShmemTest(jobname=jbname, buildno=bno, testname="shmem test", core_prov=core, fabric=fab, hosts=hosts, ofi_build_mode=mode, util_prov=util) print( '-------------------------------------------------------------------') if (runshmemtest.execute_condn): # skip unit because it is failing shmem_team_split_2d # print(f"Running shmem unit test for {core}-{util}-{fab}") # runshmemtest.execute_cmd("unit") print(f"Running shmem PRK test for {core}-{util}-{fab}") runshmemtest.execute_cmd("prk") print('--------------------------------------------------------------') print(f"Running shmem ISx test for {core}-{util}-{fab}") runshmemtest.execute_cmd("isx") print( '---------------------------------------------------------------') print(f"Running shmem uh test for {core}-{util}-{fab}") runshmemtest.execute_cmd("uh") else: print( f"Skipping {core} {runshmemtest.testname} as execute condition fails" ) print( '-------------------------------------------------------------------')
def shmemtest(core, hosts, mode, util=None): runshmemtest = tests.ShmemTest(jobname=jbname,buildno=bno,\ testname="shmem test", core_prov=core, fabric=fab,\ hosts=hosts, ofi_build_mode=mode, util_prov=util) if (runshmemtest.execute_condn): print("running shmem unit test for {}-{}-{}".format(core, util, fab)) runshmemtest.execute_cmd("unit") print("running shmem PRK test for {}-{}-{}".format(core, util, fab)) runshmemtest.execute_cmd("prk") print("running shmem ISx test for {}-{}-{}".format(core, util, fab)) runshmemtest.execute_cmd("isx") print("running shmem uh test for {}-{}-{}".format(core, util, fab)) runshmemtest.execute_cmd("uh") else: print("skipping {} as execute condition fails"\ .format(runshmemtest.testname)) print("----------------------------------------------------------------------------------------\n")