Exemple #1
0
def main():
    """
    The main entry point for when sge_test is run in standalone mode.
    """
    cp = config("test_configs/pf-sge.conf")
    stream = streamHandler(cp)
    runTest(cp, TestSGEDynamic, stream, per_site=False)
Exemple #2
0
def main():
    """
    The main entry point for when pbs_test is run in standalone mode.
    """
    cp = config("test_configs/red.conf")
    stream = streamHandler(cp)
    runTest(cp, TestPbsDynamic, stream, per_site=False)
Exemple #3
0
def main():
    """
    The main entry point for when compare_bdii_cemon is run in standalone mode.
    """
    cp = config()
    stream = streamHandler(cp)
    runTest(cp, TestCompareData, stream)
def main():
    """
    The main entry point for testing the osg-info-wrapper implementation.
    """
    cp = config()
    stream = streamHandler(cp)
    runTest(cp, TestOsgInfoWrapper, stream, per_site=False)
Exemple #5
0
def main():
    """
    The main entry point for when compare_bdii_cemon is run in standalone mode.
    """
    cp = config()
    stream = streamHandler(cp)
    runTest(cp, TestCompareData, stream)
def main():
    """
    The main entry point for testing the osg-info-wrapper implementation.
    """
    cp = config()
    stream = streamHandler(cp)
    runTest(cp, TestOsgInfoWrapper, stream, per_site=False)
Exemple #7
0
def main():
    """
    The main entry point for when the test is in standalone mode.
    """
    cp = config()
    stream = streamHandler(cp)
    runTest(cp, TestGipFull, stream, per_site=False)
Exemple #8
0
def main():
    """
    The main entry point for when condor_test is run in standalone mode.
    """
    os.environ['GIP_TESTING'] = '1'
    cp = config()
    stream = streamHandler(cp)
    runTest(cp, TestCondorProvider, stream, per_site=False)
Exemple #9
0
def main():
    """
    The main entry point for when condor_test is run in standalone mode.
    """
    os.environ['GIP_TESTING'] = '1'
    cp = config()
    stream = streamHandler(cp)
    runTest(cp, TestCondorProvider, stream, per_site=False)
Exemple #10
0
def main(args):
    """
    The main entry point for when gip_validate is run in standalone mode.
    """
    cp = getTestConfig(args)
    try:
        type = args[1]
        if type == "url":
            args.pop(1)
            cp.set("gip_tests", "validate_type", "url")
        elif type == "gipinfo":
            args.pop(1)
            cp.set("gip_tests", "validate_type", "gipinfo")
        else:
            cp.set("gip_tests", "validate_type", "bdii")
    except:
        cp.set("gip_tests", "validate_type", "bdii")

    runTest(cp, GipValidate)
Exemple #11
0
def main(args):
    """
    The main entry point for when gip_validate is run in standalone mode.
    """
    cp = getTestConfig(args)
    try:
        type = args[1]
        if type == "url":
            args.pop(1)
            cp.set("gip_tests", "validate_type", "url")
        elif type == "gipinfo":
            args.pop(1)
            cp.set("gip_tests", "validate_type", "gipinfo")
        else:
            cp.set("gip_tests", "validate_type", "bdii")
    except:
        cp.set("gip_tests", "validate_type", "bdii")

    runTest(cp, GipValidate)
Exemple #12
0
def main():
    os.environ['GIP_TESTING'] = '1'
    cp = config("test_configs/red-se-test.conf")
    stream = streamHandler(cp)
    runTest(cp, TestSEConfigs, stream, per_site=False)
Exemple #13
0
def main():
    cp = config("test_configs/red-software-test.conf")
    stream = streamHandler(cp)
    runTest(cp, TestSoftware, stream, per_site=False)
Exemple #14
0
def main():
    os.environ['GIP_TESTING'] = '1'
    cp = config("test_configs/red-se-test.conf")
    stream = streamHandler(cp)
    runTest(cp, TestSEConfigs, stream, per_site=False)
Exemple #15
0
def main():
    cp = config("test_configs/red.conf")
    stream = streamHandler(cp)
    runTest(cp, TestCESEBind, stream, per_site=False)
Exemple #16
0
def main():
    os.environ["GIP_TESTING"] = "1"
    cp = config()
    stream = streamHandler(cp)
    runTest(cp, TestSiteTopology, stream, per_site=False)
Exemple #17
0
def main():
    os.environ['GIP_TESTING'] = '1'
    cp = config()
    stream = streamHandler(cp)
    runTest(cp, TestGipCommon, stream, per_site=False)
Exemple #18
0
def main():
    cp = config("test_configs/red-software-test.conf")
    stream = streamHandler(cp)
    runTest(cp, TestSoftware, stream, per_site=False)