Exemplo n.º 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)
Exemplo n.º 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)
Exemplo n.º 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)
Exemplo n.º 4
0
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)
Exemplo n.º 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)
Exemplo n.º 6
0
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)
Exemplo n.º 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)
Exemplo n.º 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)
Exemplo n.º 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)
Exemplo n.º 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)
Exemplo n.º 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)
Exemplo n.º 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)
Exemplo n.º 13
0
def main():
    cp = config("test_configs/red-software-test.conf")
    stream = streamHandler(cp)
    runTest(cp, TestSoftware, stream, per_site=False)
Exemplo n.º 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)
Exemplo n.º 15
0
def main():
    cp = config("test_configs/red.conf")
    stream = streamHandler(cp)
    runTest(cp, TestCESEBind, stream, per_site=False)
Exemplo n.º 16
0
def main():
    os.environ["GIP_TESTING"] = "1"
    cp = config()
    stream = streamHandler(cp)
    runTest(cp, TestSiteTopology, stream, per_site=False)
Exemplo n.º 17
0
def main():
    os.environ['GIP_TESTING'] = '1'
    cp = config()
    stream = streamHandler(cp)
    runTest(cp, TestGipCommon, stream, per_site=False)
Exemplo n.º 18
0
def main():
    cp = config("test_configs/red-software-test.conf")
    stream = streamHandler(cp)
    runTest(cp, TestSoftware, stream, per_site=False)