Ejemplo n.º 1
0
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")
Ejemplo n.º 2
0
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(
        "-------------------------------------------------------------------")
Ejemplo n.º 3
0
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(
        '-------------------------------------------------------------------')